Does anyone know why this might be happening:
$ ls -al *.exe
ls: invalid option --
Try `ls --help' for more information.
I've already checked alias - I don't have anything for ls.
ls --version gives:
$ ls --version
ls (fileutils) 4.1
Written by Richard Stallman and David MacKenzie.
Copyright
Jon Berndt wrote:
Does anyone know why this might be happening:
$ ls -al *.exe
ls: invalid option --
Try `ls --help' for more information.
I've already checked alias - I don't have anything for ls.
ls --version gives:
$ ls --version
ls (fileutils) 4.1
Jon,
The only thing that comes to mind
Jon Berndt wrote:
Does anyone know why this might be happening:
$ ls -al *.exe
ls: invalid option --
Try `ls --help' for more information.
I've already checked alias - I don't have anything for ls.
ls --version gives:
$ ls --version
ls (fileutils) 4.1
Written by Richard Stallman and David
Curt wrote:
The only thing that comes to mind is to check if you have a .exe
filename that starts with a -. This will confuse ls's command line
parser. There are a few ways around that, such as ls -al ./*.exe
Heh. You're good. I had a file named -o parseDatcom.exe. Removing that
fixed it.