ITS 121 Chapter 9 Study Guide
How many different kill signals can be sent by the kill command to a given process? a. 16 b. 32 c. 64 d. 128
C
If the /etc/at.allow and /etc/at.deny files do not exist, only the root user is allowed to schedule tasks using the at daemon. True or False?
True
Processes are started with what nice value by default? a. -20 b. 0 c. 1 d. 19
B
What command below is used to display the lineage of a process by tracking its PPID until the init daemon? a. psbranch b. pstree c. psparent d. pshead
B
When killing a background job with the kill command, the background job ID must be prefixed by what character below? a. & b. # c. $ d. %
D
What character, when appended to a command, causes the command to be run in the background? a. & b. $ c. # d. %
A
The process state column, what does an "R" indicate? a. The indicate process is being restarted because it received a SIGHUP kill signal. b. The process is currently running on the processor. c. The process is reading from the local hard disk. d. The process is recovering from a fatal error, and may potentially become a zombie.
B
What can be used on a Linux system to trace the lineage of each child process? a. process ID b. parent process ID c. execution order ID d. process fork ID
B
Which kill signal terminates a process by taking the process information in memory and saving it to a file called core on the hard disk in the current working directory? a. SIGINT b. SIGQUIT c. SIGKILL d. SIGTERM
B
After a background has been started, what command below can be used to move it to the foreground? a. b2f b. fgd c. fg d. fgnd
C
Which of the following is not one of the three main Linux commands? a. binary programs b. shell scripts c. shell functions d. device calls
D
Each process can start an unlimited number of other processes. True or False?
True
On a Fedora based system, where are the shell environment and scheduled commands for at stored? a. /var/spool/cron/atjobs b. /var/spool/at c. /var/run/at d. /var/run/cron/at
B
When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with which symbol? a. * b. + c. - d. /
B
What kill signal stops a process, then restarts it with the same PID? a. SIGINT b. SIGQUIT c. SIGHUP d.SIGTERM
C
In a cron table entry, what field specifies the absolute pathname to a command that is to be executed? a. first b. second c. fifth d. sixth
D
What number indicates the lowest priority kernel priority (PRI) of a process possible? a. -20 b. 0 c. 20 d. 127
D
What option can be used with the ps command to display an entire list of processes across all terminals and including daemons? a. -f b. -l c. -a d. -e
D
What option, when added to the crontab command, opens the vi editor with a user's cron table? a. -u b. -c c. -f d. -e
D
The killall command uses the PID to kill all process. True or False?
False
After a process has been started, you can change its priority by using the renice command. True or False?
True
Zombie processes are also known as defunct processes. True or False?
True
When viewing the output of the ps ax command, what does a < symbol in the STAT column indicate for a process? a. The process is high priority b. The process is exiting c. The process is accepting redirected input from a terminal. d. The process is currently active on the processor.
A
In order to display a list of at job IDs, what option can be specified to the at command? a. -l b. -u c. -a d. -d
A
In the output of the ps -l command, what column is the most valuable to systems administrators because it indicates what the process is currently doing? a. process state b. process flag c. process priority d. PID
A