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

Price List Query for Item

 SELECT qph.list_header_id,        qph.name,        qph.description,        qphh.start_date_active,        qphh.currency_code,        q...