div class=”bct-lesson”>
Every command from this series, in one scannable table.
| Area | Command | Purpose |
|---|---|---|
| Location | pwd | Show current directory |
| Listing | ls | List files |
| Navigation | cd | Change directory |
| Directory | mkdir | Create directory |
| Delete | rm | Remove files/directories |
| Copy | cp | Copy files/directories |
| Move | mv | Move / rename |
| File | touch | Create empty file / update timestamp |
| View | cat | Display file contents |
| View | less | Read file page by page |
| Beginning | head | Show beginning of file |
| End | tail | Show end of file |
| Search | grep | Search text |
| Processes | ps | List processes |
| Monitoring | top | Monitor processes / resources |
| Terminate | kill | Send signal to process |
| Permissions | chmod | Change permissions |
| Ownership | chown | Change owner / group |
| Network | ping | Test basic connectivity |
| HTTP | curl | Make requests / transfers |
| Download | wget | Download files |
| Remote login | ssh | Connect to remote machine |
| File transfer | scp | Securely copy files |
| Packages | apt | Debian / Ubuntu package manager |
| Packages | yum | RHEL / CentOS package manager |
| Privileges | sudo | Run with elevated privileges |
| Output | echo | Display text |
| Combine | | | Pipe output |
| Redirect | > | Write / overwrite |
| Append | >> | Append output |
| Documentation | man | Read command manual |
| Commands | history | Show command history |
| Session | exit | Exit shell / session |