Linux is the operating system that powers the majority of servers, security tools, and hacking environments. If you want to work in cybersecurity, you MUST be comfortable with Linux. This room teaches the absolute basics - navigating the filesystem, running commands, and understanding how Linux works.
Think of the command line as texting your computer instead of clicking buttons. It's faster, more powerful, and essential for security work. Once you get comfortable, you'll never want to go back to clicking through menus.
Why Linux for Hacking?
Most security tools are built for Linux. Kali Linux comes with hundreds of pre-installed tools. Target servers are often Linux. Learning Linux is non-negotiable for security professionals.
Basic Commands
rm -rf is Dangerous
The command "rm -rf" deletes files and folders without confirmation or recovery. Never run "rm -rf /" - it will destroy your entire system. Always double-check paths before using rm.
Linux Filesystem
File Permissions
Security Note: World-Writable
Files with permission 777 or directories like /tmp that are world-writable (everyone can write) are often targets for privilege escalation. Always check file permissions during pentests!
Room Walkthrough
Linux Fundamentals Part 1 Tasks
1
IntroductionRead about what Linux is and why it's important. Answer basic questions from the reading.
2
Basic CommandsPractice echo, whoami, pwd, ls, cd. The room provides an in-browser terminal.
3
File OperationsCreate, copy, move, and delete files. Use touch, cp, mv, rm, mkdir.
4
Reading FilesUse cat, head, tail to view file contents. Find specific content using grep.
5
PermissionsUnderstand ls -l output. Identify who can read/write/execute files.
Knowledge Check
Challenges
Key Takeaways
- pwd shows current directory, ls lists files, cd navigates
- cat reads files, grep searches within files
- File permissions control read (r), write (w), execute (x) access
- Permission numbers: 4=read, 2=write, 1=execute, combine for total
- Important paths: /etc (configs), /home (users), /var/log (logs)
- man command gives detailed help for any command