Mastering the Terminal
In cybersecurity, you will spend most of your time in the Linux Command Line Interface (CLI). Graphical interfaces are slow and less flexible for automation.
Essential Navigation Commands
| Command | Description | Example |
|---|---|---|
pwd | Print Working Directory (shows where you currently are). | /home/kali |
ls | List directory contents. | ls -l (long list format) |
cd | Change Directory. | cd /etc/network |
cd .. | Move up one directory level. | |
mkdir | Make Directory. | mkdir my_project |
rmdir | Remove Directory (must be empty). | |
touch | Create an empty file or update timestamp. | touch notes.txt |
clear | Clears the terminal screen. |
Getting Help
Almost every Linux command has documentation accessible via the man command (manual pages):
bash man ls
Press 'q' to exit the man page.