1

What difference does * make here ? (ls command question)

view story
linux-howto

http://www.unix.com – Solaris 10 (korn shell) I use -d option with ls command , when I want to suppress contents of the subdirectories being listed when listing all the directories and files in a directory. This is what man page says about -d option in ls command. Code: -d          If an argument is a directory, lists  only  its name  (not its contents).               Often used with -l to get the status of a directory. # Creating 2 files and 2 directories for testing Code: $ pwd /tmp/stage_dir $ ls $ touch a.txt $ touch b (HowTos)