ls -l

Show detailed file listing with permissions, size, and date

ls -l (long format) shows permissions, owner, group, size in bytes, modification date, and filename. Read permissions left to right: user-group-others. The first character shows type: - for file, d for directory, l for symlink.

Example

$ ls -l
-rwxr-xr-x 1 ubuntu ubuntu 4096 Jan 15 14:23 deploy.sh
Tip: Type it yourself in the terminal below - reading is not the same as doing.