$ 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
为什么重要
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.
你怎么用它
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.
相关术语