NEW
Font size
WorksheetsLinux Quiz
Total questions: 20
Worksheet time: 7mins
Who created Linux and in which year was it first released?
Richard Stallman, 1989
Linus Torvalds, 1991
Bill Gates, 1995
Dennis Ritchie, 1972
What does it mean that Linux is “open-sourceˮ?
Only companies can modify it
Anyone can view, modify, and distribute its code
Only Linus Torvalds can change it
It is free to install but closed for modification
Which Linux component acts as the “coreˮ between hardware and software?
Shell
Terminal
Kernel
BIOS
In Linux, which type of user has full system control?
Regular User
System User
Root User
Guest User
Which command shows hidden files in a directory?
ls
ls -l
ls -a
cat
Which Linux distribution is known for cybersecurity and penetration testing?
Fedora
Ubuntu
Kali Linux
Debian
What is the main purpose of the Linux shell?
To manage hardware directly
To provide a command-line interface to interact with the OS
To display graphical menus
To install applications
In Linux, what does cat /etc/passwd display?
Running processes
Disk usage
All user accounts on the system
Hidden files
Which command lists files with detailed information (permissions, size, date)?
ls -a
ls -l
pwd
cd
Which command changes the current directory?
ls
pwd
cd
mv
What does the jobs command do in Linux?
Lists all users
Lists files in a directory
Displays background and stopped processes
Shows memory usage
In process management, what does pressing Ctrl+Z do?
Terminates the process
Runs it in the foreground
Stops it and sends it to the background
Restarts the process
Which command shows a real-time view of CPU and memory usage, similar to Task Manager?
ps aux
top
df -h
pstree
Which command kills all processes with a specific name?
kill PID
killall
renice
stop
What does df -h display?
RAM usage in human-readable form
Disk space usage in human-readable form
CPU usage in human-readable form
Directory permissions
In ps aux, what does the option x do?
Shows processes in tree format
Includes processes without a controlling terminal
Exits the command after execution
Kills a process
Which command is used to view processes in a hierarchical (tree) structure?
ps aux
pstree
top
jobs
What is the range of priority values used by the nice command?
−10 to 10
0 to 100
−20 (highest) to 19 (lowest)
1 to 255
What does du -sh /var/log display?
List of log files
Total size of the /var/log directory in human-readable format
Disk free space of /var/log
RAM usage for logging services
In vmstat, which two columns indicate swapping between RAM and disk?
si and so
si (swap-in) and so (swap-out)
in and out
swp and mem
