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

Item - Category Query

      SELECT      msi.segment1 AS Item_Code,       msi.DESCRIPTION AS Item_Desc,       mcs.CATEGORY_SET_NAME,       mck.CONCATENATED_SEGMEN...