Linux Ch 9
When you append a(n) ____ to a command, the command is run in a background process.
&
To display an entire list of processes across all terminals and including daemons, you can add the ____ option to any ps command.
-e
The location of system cron tables.
/etc/crontab
Directory storing the shell environment and scheduled commands.
/var/spool/at
The location of user cron tables.
/var/spool/cron
You have a script to run on April 1 each year at 9:00am. Write the cron table entry to make this happen. The script is located in /bin and named aprilfools.
0 9 1 4 * /bin/aprilfools
There are ____ different kill signals that the kill command can send to a certain process.
64
A system process that is not associated with a terminal is called a(n) ____ process.
Daemon
The ps command is the only command that can view process information. T/F
False
While a process is waiting for its parent process to release the PID, the process is said to be in a(n) zombie state. T/F
True
Daemon used to schedule a command to execute once in the future.
at daemon
Daemon used to schedule a command to execute repeatedly in the future.
cron daemon
After a background process has been started, it can be moved to the foreground by using the ____ command.
fg
In the output of the ps -l command, the ____ column is the most valuable to systems administrators because it indicates what the process is currently doing.
process state
Each process can start an unlimited number of other processes. T/F
True
A process's identifier that allows the kernel to identify it uniquely.
PID
Identifies the process that started another process.
PPID
An executable file on the hard disk that can be run when you execute it.
Program
The ____ field in a cron table contains the absolute pathname to the command to be executed.
Sixth
Ignoring a kill signal.
Trapping
The following entry is in a cron table. When will the myscript script run? (be very specific)
45 23 * * 6 /bin/myscript