-
List Files when no arguments passed $ ls
-
-l option: Provides information regarding permissions, file sizes and modified date and time $ ls -l
-
-h option: human readabale format. If you want the file sizes in Kilo Bytes, Mega Bytes etc. $ ls -lh
-
-a option: Viewing hidden files. Hidden files begin with a full stop (.) $ ls -a
-
-t option: Sorts the file by modification time $ ls -t
-
-r option: Perform reverse operation of sorting $ ls -lrt