quiz
Linux Fundamentals Quiz
Test your knowledge of essential Linux commands, file systems, permissions, and process management.
By Ehsan Golpayegani ·
Linux Fundamentals Quiz
Test your understanding of core Linux concepts. Answers are revealed at the bottom.
Question 1: File Permissions
What does the permission string rwxr-x--- mean?
- A) Owner: read/write/execute, Group: read/execute, Others: no access
- B) Owner: read/write/execute, Group: read/write, Others: execute
- C) Owner: all, Group: all, Others: none
- D) Owner: read/execute, Group: read/write/execute, Others: none
Question 2: Process Management
Which command shows a real-time, interactive view of running processes?
- A)
ps aux - B)
top - C)
jobs - D)
ls /proc
Question 3: File System Hierarchy
Which directory typically contains system-wide configuration files?
- A)
/var - B)
/opt - C)
/etc - D)
/usr
Question 4: Networking
What does the command ss -tulnp display?
- A) Active TCP and UDP connections with process info
- B) DNS resolution results
- C) Firewall rules
- D) Network interface configurations
Question 5: Package Management
On a Debian/Ubuntu system, which command installs a package and its dependencies?
- A)
yum install <package> - B)
apt install <package> - C)
pacman -S <package> - D)
rpm -i <package>
Answers
- A —
rwx(owner: 7),r-x(group: 5),---(others: 0) = 750 - B —
topprovides a real-time, interactive process viewer - C —
/etcis the standard location for system configuration files - A —
ss -tulnpshows TCP/UDP listening sockets with process names - B —
apt installis the Debian/Ubuntu package manager command