QUIZ #4 REVIEW QUESTIONS
You can view all running processes by using the command ____.
ps
What are the systemctl options to list all failed units?
systemctl is-failed
What command would be used to completely disable iptables so that it may not even be started manually?
systemctl mask iptables
What command reloads the configuration of the SSH server without stopping the service?
systemctl reload sshd
What command would be used to determine if smartd were currently running?
systemctl status smartd
For each daemon, there is a script in ____.
/etc/init.d/
The command kill kills all processes with an indicated command name.
FALSE
Which state represents a process that is sleeping until some condition is met?
S
Which state represents a process that has been stopped or suspended?
T
All jobs have a PID, but not all processes have a usable job identifier.
TRUE
The best approach for reading the log files from the command line is to use the command tail.
TRUE
Which state represents a process that has released all of its resources except its PID?
Z
A ____ is a process that is started by another process.
child process
Which process does a parent use to duplicate to create a new child process?
fork
The ____ is a shell-specific numeric value that identifies the running program uniquely within that shell.
job identifier
A ____ is a program that is running in memory and on the CPU.
process
You can continue running a stopped process in the background by entering ____.
bg