You navigated Linux like a pro.
Linux stores everything — files, programs, devices — in one big tree starting at /, called root. Your personal files live under /home/yourname, often shown as ~.
/home/alice/Documents.Files starting with a dot, like .bashrc, are hidden. Plain ls skips them — you need -a to see them.
grep is how you search inside files instead of just by filename — useful for finding a password, a flag, or an error buried in a big log.
| Command | Shows |
|---|---|
| whoami | Your current username |
| ls -l | File permissions, owner, size, date |
| chmod +x file | Make a file executable |
| clear | Clear the terminal screen |
projects folder and list what's inside.grep to search every file in your home directory for the word "flag", then submit what you find.ls will not show everything. Add the flag for "all" — it starts with a dash.cd followed by a folder name moves you inside it. cd .. always goes back up one level.cat followed by a filename prints the whole file at once.grep -r "flag" ~ to search recursively from your home directory, instead of checking each file by hand.| Command | Does |
|---|---|
| pwd | Show current directory |
| ls / ls -la | List files (add -a for hidden) |
| cd <dir> | Change directory |
| cat <file> | Print file contents |
| mkdir / touch | Create a folder / empty file |
| rm <file> | Delete a file |
| grep [-r] "x" path | Search for text |
| whoami / clear | Show user / clear screen |