From Fedora Project Wiki

(bug on ls command)
(Add response to anonymous feedback)
 
Line 3: Line 3:
-->
-->


* ''anonymous''
uname -a
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
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
Line 21: Line 22:


I think this is a bug
I think this is a bug
* [[User:Jlaska|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 {{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 does {{command|echo *.pps}} yield?  You may wish to enclose the command in quotes, {{command|ls -l "*.pps"}}.  If problems remain, please raise the issue on the [https://admin.fedoraproject.org/mailman/listinfo/users users] or [https://admin.fedoraproject.org/mailman/listinfo/test test] list.

Latest revision as of 12:25, 27 January 2010


  • 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 does echo *.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.