List files and directories.
Section: Navigation and Discovery
List directory contents
bash
bash
ls -lahExplanation
`-l` shows details, `-a` includes dotfiles, and `-h` formats sizes in human-readable units.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Navigation and Discovery