← Back In the print window choose “Save as PDF” as the printer.

Linux cheatsheet

The operating system every cybersecurity learner starts with

UnixDroid

How it works

  1. Everything is a file — Folders, devices and settings appear as files in one tree that starts at /.
  2. The shell reads you — You type a command; the shell (usually Bash) finds the program and runs it.
  3. Permissions protect — Every file has an owner and read, write and execute rights.
  4. Packages install software — Tools like apt download software from trusted repositories.

First steps

pwd
Show the folder you are in
ls -la
List every file, including hidden ones
cd /var/log
Move into the log folder
grep -i error app.log
Find lines that contain "error"
chmod 600 secret.txt
Make a file readable only by you
Keep your system updated and do daily work as a normal user, not as root. Practise only on your own computer, your own network or a lab that gives you permission. Using security tools on systems that are not yours can be a crime (in India under the IT Act).