> what is the difference between these two commands ? > ls /* > and > ls /*/ > > ------------------- > these two commands give me different output: > > ls -ld /* =--->list all the files inside the directory (both files and > subdirectories) > > ls -ld /*/ =---> give me the list of only the (subdirectory inside the > directory) The difference is not caused by ls but rather by the way the shell does the filename expansion. BTW: If you're using bash, it will by default show you the expanded list of filenames that match the pattern if you press Ctrl-X * when the cursor is positioned directly after the pattern. -- Regards mks -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org