with complete solution
Which of the following terms refers to a system service that does not run on a
terminal?
Daemon Process
Which of the following commands can quickly identify the child processes
started by a particular daemon?
pstree
Which of the following statements are true? (choose all that apply)
A child process only has one parent process and all background processes have a PID
and a job ID
What is the PID of init?
One
To what processes are regular users allowed to send kill signals?
The ones the users own
You have just run the ps aux command and notice that most daemons have an S
in the STAT column. What does this mean?
Sleeping process waiting to be summoned by another process
What key can you press in the top command to send the process a signal?
k
What can you type at a command prompt to run the updatedb command in the
background?
updatedb &
Which of the following key combinations can you use to pause a foreground
process, such that it may be send to the background with the bg command?
Ctrl + Z
Which of the following kill commands may be used to send the second
background job a SIGINT?
Kill -2 %2
If you do no specify the type of signal when using the kill or killall commands,
which signal is used by default?
SIGTERM
You have a script that is used to remove temporary files and would like this script
to run on a daily basis. What directory could you place this script in to have the
cron deamon execute it each day?
etc/cron.daily
What command could a regular user use to edit their crontab?
crontab -e
What lines would you add to your crontab to schedule the /bin/false command to
run at 2.50 p.m. from monday to friday?
50 14**1-5 /bin/false
What command can you use to run the contents of the file cleanup at noon?
At noon -f cleanup