Saturday, February 9, 2013

LS command - File & Directory listing

ls [opt]
       -a     list hidden files
       -d     list the name of the current directory
       -F     show directories with a trailing '/'
                 executable files with a trailing '*'
       -l     long listing giving details about files and directories
       -R     list all subdirectories encountered
       -t     sort by time modified instead of name

Examples:

Display one file per line

$ ls -1
bin
etc
home
lib 


No comments:

Post a Comment

Customer Tax Registration - EBS Query

              SELECT DISTINCT  hp.party_type, hp.party_name, hca.account_name, hp.party_number, hps.party_site_number, ...