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

Oracle Standard Package for Order Totals

  Purpose: Sometimes we need to show line-wise or complete order totals (Basic / Tax / Tax+Basic) in reports. Oracle provides a standard...