Quel Qun wrote:
> Hi,
> 
> For some reason I end up with a file named -bash: in my home
> folder and it screws up the * expansion:
> 
> $ ls *
> ls: invalid option -- :
> Try `ls --help' for more information.
> 
> It took me some time to find a way to remove this file, so just
> in case it happens to anyone else, just use 
> 
> $ rm -f ./-bash\:
> 

ls -- *
rm -- -bash:


Reply via email to