$ man cli-commands
Engineering · Terminal and CLI
CLI Commands
The core terminal commands for navigating folders and manipulating files. pwd, ls, cd, mkdir, cp, mv, rm, cat, chmod, echo.
by Shawn Tenam
why it matters
These 10 commands cover 90% of what you need in the terminal. Navigate folders, create files, copy things, delete things, read contents. No GUI needed. Once you know these, you can move through your file system faster than clicking through Finder.
how you use it
pwd shows where you are. ls lists files. cd changes directory. mkdir creates folders. cp copies. mv moves or renames. rm deletes. cat shows file contents. chmod changes permissions. Pipe commands together with | to chain operations.
related terms