Learn Mode

Linux System Monitoring and Troubleshooting Quiz

#1

Which command is used to display information about currently running processes?

ps
Explanation

Displays process status

#2

What does the 'df' command do in Linux?

Displays disk usage statistics
Explanation

Shows disk space usage

#3

Which command is used to view the list of logged-in users?

w
Explanation

Shows who is logged on

#4

What does the 'uptime' command display in Linux?

System load average
Explanation

System uptime and load

#5

Which command is used to send a signal to a process in Linux?

kill
Explanation

Terminate a process

#6

Which command is used to view the last few lines of a file?

tail
Explanation

Displays the end of a file

#7

What is the purpose of the 'sar' command in Linux?

To monitor system performance
Explanation

System activity reporter

#8

Which command is used to monitor network connections in real-time?

tcpdump
Explanation

Captures network traffic

#9

What does the 'vmstat' command do in Linux?

Displays virtual memory usage
Explanation

Virtual memory statistics

#10

What does the 'journalctl' command do in Linux?

Displays system journal logs
Explanation

Systemd journal utility

#11

What does the 'strace' command do in Linux?

Traces system calls and signals
Explanation

System call tracer

#12

Which command is used to find out the current memory usage of a process?

pmap
Explanation

Process memory map

#13

Which command is used to display the list of files opened by a process?

lsof
Explanation

Lists open files

#14

What does the 'netcat' command do in Linux?

Manages network connections
Explanation

Network Swiss Army knife

#15

Which command is used to check the syntax of a configuration file without restarting the service?

service syntax-check
Explanation

Check service syntax

Test Your Knowledge

Craft your ideal quiz experience by specifying the number of questions and the difficulty level you desire. Dive in and test your knowledge - we have the perfect quiz waiting for you!