bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ls *.jpg error (fwd)


From: Bob Proulx
Subject: Re: ls *.jpg error (fwd)
Date: Mon, 19 Mar 2001 23:25:21 -0700

> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]