Level 1 · User · Lesson 2 of 3
Your first Linux commands.
Most servers on the internet run Linux, and most security tools do too. You only need five commands to start finding your way around.
pwd"Print working directory." Shows which folder you're in.
lsLists what's in the folder. ls -a also shows hidden files, whose names start with a dot.
cd nameMoves into a folder. cd .. goes up one level, and cd ~ goes home.
cat filePrints a file's contents to the screen.
whoamiShows which user you're logged in as. Attackers run it first after breaking in. So do defenders checking a machine.
Practice: find the flag
This practice terminal runs a small pretend file system in your browser. Somewhere in it is a file containing a flag that starts with KX{. Find it, then paste it below. Type help if you get stuck.
practice terminal (simulated)student@kryvex