The ls – Listing contents of the directory, this utility can list the files and directories and can even list all the status information about them including date and time of modification or access, permissions, size, owner, group etc. The below command lists files in long listing format and sorts files based on modification time, newest first. To sort in reverse order, use '-r' switch with this command.

Command:

# ls -lt

Categorized in:

Tagged in:

, ,