Monday, January 13, 2014

Using the command “ls” commonly used options and arguments

ls has some interesting format which is very useful. Here are some arguments which you can use. For example, I like
$ ls - ltF

-a --all All files include those with .
-l Display results in long format
-r --reverse Reverse order while sorting
-S Sort results by file size
-t Sort by modification time.
-F --classify Append an indicator character to the end of each listed name
References:
  1. The Linux Command Line (by No Starch Press)

No comments: