Listing File Linux Command

Posted on 7:30 PM by Bharathvn

$ ls -l Files and directories in current directory
$ ls -la Includes files/directories beginning with dot (.)
$ ls -lt Orders files by time recently changed
$ ls -lu Orders files by time recently accessed
$ ls -lS Orders files by size
$ ls -li Lists the inode associated with each file
$ ls -ln List numeric user/group IDs, instead of names
$ ls -lh List file sizes in human-readable form (K, M, etc.)
$ ls -lR List files recursively, from current directory and subdirectories