Information Technology Reference
In-Depth Information
Exam Prep Practice Questions
Question 1
Which of the following criteria can be used to select processes using the
pkill
command? [Select all that apply.]
❑
A.
Program name
❑
B.
Start time
❑
C.
Real or effective UID
❑
D.
Associated terminal device
The correct answers are A, C, and D. Answer B, the start time, is not sup-
ported by either the
pkill
or the
pgrep
command.
Question 2
Enter the command that can be used to list, edit, and delete
crontab
files.
The correct answer is
crontab
.
Question 3
If a signal is not specified when using the
kill
command, by default, which sig-
nal is sent to the specified processes?
❍
A.
SIGHUP
❍
B.
SIGINT
❍
C.
SIGKILL
❍
D.
SIGTERM
The correct answer is D. All these signals can typically be used to terminate
processes, but
SIGTERM
is the default signal used by the
kill
and
pkill
com-
mands.