> When I am trying to use ls *.jpg
> it gives an error message:
> 
> "ls: invalid option -- _
> Try `ls --help' for more information. "
> 
> Basically i can't list any jpg files and i have to look for them manually
> by using ls by itself.

You must have a jpg file that starts with "-_".  That leading '-'
would cause ls to interpret it as an option.  If that is the case then
you can turn off ls option processing with --.

  ls -- *.jpg

Hope that helps.

Bob

_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to