Chapter 9 Quiz

Ace your homework & exams now with Quizwiz!

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 option can be used with the ps command to display an entire list of processes across all terminals and including daemons? a)-a b)-e c)-f d)-l

b)-e

In order to display a list of at job IDs, what option can be specified to the at command? a)-u b)-l c)-a d)-d

b)-l

Processes are started with what nice value by default? a)1 b)0 c)-20 d)19

b)0

The killall command uses the PID to kill a process. a)true b)false

b)false

After a background process has been started, what command below can be used to move it to the foreground? a)fgd b)fg c)b2f d)fgnd

b)fg

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)SIGQUIT, 3 b)SIGTERM, 15 c)SIGKILL,9 d)SIGINT, 2

a)SIGQUIT, 3

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)the process is high priority

What can be used on a Linux system to trace the lineage of each child process?​ a)parent process ID b)execution order ID c)process ID d)process for ID

​parent process ID

What option, when added to the crontab command, opens the vi editor with a user's cron table? a)-e b)-f c)-c d)-u

a)-e

What number indicates the lowest kernel priority (PRI) of a process possible?​ a)127 b)0 c)20 d)-20

a)127

How many different kill signals can be sent by the kill command to a given process? a)64 b)32 c)128 d)16

a)64

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 priority c)process flag d)PID

a)process state

In a cron table entry, what field specifies the absolute pathname to a command that is to be executed? a)sixth b)fifth c)second d)first

a)sixth

After a process has been started, you can change its priority by using the renice command. a)True b)False

a)true

Each process can start an unlimited number of other processes. a)true b)false

a)true

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. a)True b)False

a)true

Zombie processes are also known as defunct processes.​ a)true b)false

a)true

​In the process state column, what does an "R" indicate? a) The process is recovering from a fatal error, and may potentially become a zombie. b) The process is currently running on the processor. ​c) The indicated process is being restarted because it resceived a SIGHUP kill signal. ​d) The process is reading from the local hard disk.

b) the process is currently running on the processor

When killing a background job with the kill command, the background job ID must be prefixed by what character below? a)$ b)% c)# d)&

b)%

On a Fedora based system, where are the shell environment and scheduled commands for at stored?​ a)/var/run/at b)/var/run/cron/at c)/var/spool/at d)/var/spool/cron/atjobs

c)/var/spool/at

What kill signal can not be ignored and will always stop a process? a)SIGQUIT, 3 b)SIGTERM, 15 c)SIGKILL, 9 d)SIGINT, 2

c)SIGKILL, 9

What character, when appended to a command, causes the command to be run in the background? a)% b)# c)$ d)&

d)&

Which of the following is not one of the three main types of Linux commands?​ a)shell scripts b)binary programs c)shell functions d)device calls

d)device calls

What command below is used to display the lineage of a process by tracing its PPIDs until the init daemon?​ a)pshead b)psbranch c)psparent d)pstree

d)pstree


Related study sets

TN Health and Life Insurance Exam

View Set