Back to course

Basic Linux Command Line Interface (CLI) I

Cyber Security Mastery: From Zero to Hero

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

CommandDescriptionExample
pwdPrint Working Directory (shows where you currently are)./home/kali
lsList directory contents.ls -l (long list format)
cdChange Directory.cd /etc/network
cd ..Move up one directory level.
mkdirMake Directory.mkdir my_project
rmdirRemove Directory (must be empty).
touchCreate an empty file or update timestamp.touch notes.txt
clearClears 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.