$ ls -la
$ ls -lhSr
$ ls -la --color=auto -F
| -1 | list one entry per line |
| -l | long format — permissions, owner, size, date |
| -a | show hidden entries (dotfiles) too |
| -A | show hidden entries except . and .. |
| -h | human-readable sizes (K, M, G) |
| -t | sort by modification time, newest first |
| -r | reverse the sort order |
| -S | sort by file size, largest first |
| -R | list subdirectories recursively |
| -d | list directories themselves, not their contents |
| -F | append an indicator (/, *, @) to entries by type |
| -i | show each entry's inode number |
| --color | colorize the output (auto, always, never) |
| --group-directories-first | list directories before files |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.