Option | Description |
---|---|
-a | Display all the files and folders even if they are hidden. (How to hide files and folders in unix) |
-A | Similar to ‘–a’ option. Displays all the files and folders(even hidden) excluding working directory (.) and parent directory (..). |
-l | Displays more information about the files like permissions, owner name, last modified time and user name. |
-t | Display files sorted in latest modification time. |
-r | Reverse the sorted list. |
-R | Recursively reverse the sub directories. |
-d | Displays list of directories excluding files. |
-g | Displays same output of command “ls –l” excluding the owner names of the files. |
-o | Displays same output of command “ls-l” excluding the group names of the files. |
-i | Displays (inode) index number of each file. |
-s | Display list of files with size. This command used with “-l” option like “ls –ls” |
-S | Display files sorted by size. |
-v | Displays files sorted by version. |
-1 | Display each file in a new line. |
Leave A Comment