ls

Adds a file type identifier:

ls -F

Identifier:

/ => folder
@ => symbolic link
= => socket
| => pipe
* => executable

Lists files long format, ordered by size, human readable sizes

ls -lSh

List long ordered by mtime, newest first / oldest first

ls -lt
ls -rlt

List long ordered by atime, newest first / oldest first

ls -ult
ls -rult

List long ordered by ctime, newest first / oldest first

ls -clt
ls -rclt

Sort by mtime/ctime/atime

ls -t
ls -c
ls -u

List ordered by name and display the atime,ctime,mtime

ls -ul

ls -cl

ls -l

List by size long (bigger first)

ls -Sl

Recursive list

ls -R

Displays security context

ls -Z

Lists hidden files

ls -a

Lists file’s inode

ls -i

Lists information about the directory itself and not about it’s contents:

ls -d

Uncategorized