BIT 170 Quiz 9 Chapter 9
When killing a background job with the kill command, the background job ID must be prefixed by what character below?
%
What character, when appended to a command, causes the command to be run in the background?
&
When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with which symbol?
+
What option can be used with the ps command to display an entire list of processes across all terminals and including daemons?
-e
What option, when added to the crontab command, opens the vi editor with a user's cron table?
-e
What two ps options can be used to display a full list of information about each process, and a long list of information about each process?
-f, -l
In order to display a list of at job IDs, what option can be specified to the at command?
-l
What number indicates the lowest kernel priority (PRI) of a process possible?
127
How many different kill signals can be sent by the kill command to a given process?
64
What kill signal stops a process, then restarts it with the same PID?
SIGHUP
What kill signal and number can be used to send an interrupt signal to a process, and is the same as using the Ctrl+c combination to kill a running process?
SIGINT, 2
What signal name and number function as the absolute kill signal, and when issued, forces the Linux kernel to stop executing the process by sending the process's resources to /dev/null?
SIGKILL, 9
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?
SIGQUIT
In the process state column, what does an "R" indicate?
The process is currently running on the processor.
When viewing the output of the ps ax command, what does a < symbol in the STAT column indicate for a process?
The process is high priority.
After a background process has been started, what command below can be used to move it to the foreground?
fg
What two processes below will show up as PID 1, depending on whether a system uses UNIX SysV or Systemd init processes?
init, systemd
What two commands below can be used to stop a process, either by PID number or process name?
kill killall
In a cron table entry, what field specifies the absolute pathname to a command that is to be executed?
sixth
On a Fedora based system, where are the shell environment and scheduled commands for at stored?
/var/spool/at
Processes are started with what nice value by default?
0
Which of the following is not one of the three main types of Linux commands?
device calls
What can be used on a Linux system to trace the lineage of each child process?
parent process ID
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?
process state
What command below is used to display the lineage of a process by tracing its PPIDs until the init daemon?
pstree