Ten questions. Click each one to reveal the answer.
What does / represent?show answer
The root directory of the Linux filesystem — the single starting point everything else hangs off.
What does ~ represent?show answer
The current user’s home directory.
How do you find your current directory?show answer
pwd
How do you move to the parent directory?show answer
cd ..
What is the difference between > and >>?show answer
> overwrites the file’s contents. >> appends to the end of it.
What does PID mean?show answer
Process ID — the unique identifier given to every running process.
What does 755 mean?show answer
Owner has read/write/execute (rwx); group and others have read/execute (r-x) — written out as rwxr-xr-x.
What does ps aux | grep nginx do?show answer
Lists all running processes, then filters that output down to only the lines mentioning nginx.
What does tail -f application.log do?show answer
Displays the end of the log file and keeps the terminal open, printing new lines as they’re written.
What’s the difference between apt update and apt upgrade?show answer
apt update refreshes the local package index. apt upgrade actually installs the newer versions of packages you already have.