There is a thread that talks about ls "*"
not showing any files, but I actually wonder why the simple
ls *
command doesn't output anything in my terminal other than
ls: invalid option -- '|'
Try 'ls --help' for more information.
while
ls
will list all the files in the current directories as
1 ferol readme.txt
2 fichier sarku
2018 GameShell Templates
22223333 '-|h4k3r|-' test
3 hs_err_pid2301.log test2
CA.txt important.top.secret.txt toto.text
CA.zip JavaBlueJProject tp1_inf1070
countryInfo.txt liendur 'tp1_inf1070_A19(2) (1)'
currency liensymbolique tp1_inf1070_A19.tar
curreny LOL Videos
Desktop Longueuil 'VirtualBox VMs'
Documents Music words
douffos numbers Zip.zip
Downloads Pictures
examples.desktop Public
Any ideas as to why the globbing doesn't take effect here? I'm on Ubuntu, working in the terminal, I don't know if it makes a difference.
Thanks.
ls
assumes you want.
if you don't provide any arguments.