From Fedora Project Wiki
- anonymous
uname -a hera.localdomain 2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18 19:52:07 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux language brazilian portuguese
this works for me ls -l *.rpm
look at "./" preceding the char "*" this works for me ls -l ./*.pps
but
this does not works for me
ls -l *.pps ls: invalid option -- 'P' Experimente "ls --help" para mais informações.
I think this is a bug
- jlaska - it may be, but I believe you might want to confirm what the asterix is expanding to in the directory you are running the command
ls -l *.pps
. It's possible it is expanding to a filename that has -P as the first 2 characters, which confuses the ls command. What doesecho *.pps
yield? You may wish to enclose the command in quotes,ls -l "*.pps"
. If problems remain, please raise the issue on the users or test list.