ls

List all files (including hidden files)

ls -a

List almost all files (except . and ..):

ls -A

List files using long listing format:

ls -l

List directory but not its content:

ls -ld

List files by size:

ls -S

List files by modification time (newest to oldest):

ls -t

Reverse order while sorting:

ls -r

List files using access time instead of modification time:

ls -u

Show file inode:

ls -i
page_revision: 0, last_edited: 1223880858|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License