Information Technology Reference
In-Depth Information
Question 8
Which of the following criteria can be specified to select processes using the
pgrep command? [Select all that apply.]
A.
Program name
B.
Process ID (PID)
C.
Real or effective UID
D.
Associated terminal device
The correct answers are A, C, and D. Answer B, process ID, cannot be speci-
fied as a criterion because the pgrep command is used to determine process IDs.
Question 9
The /etc/cron.d/cron.deny file exists, but the /etc/cron.d/cron.allow file does
not. Which of the following statements are true regarding access to the cron
capability? [Select all that apply.]
A.
Without a cron.allow file, no one, including root, is allowed to create,
edit, or delete crontab files.
B.
Without a cron.allow file, only root is allowed to create, edit, or delete
crontab files.
C.
Any user account not listed in the cron.deny file can create, edit, or
delete their own crontab file.
D.
Any user account listed in the cron.deny file cannot create, edit, or
delete their crontab file.
The correct answers are C and D. Answers A and B are incorrect because if
a cron.deny exists and a cron.allow does not exist, any account not listed in
the cron.deny file can use the cron facility.
Question 10
Other than the ps command, which command can be used to view information
about active processes?
The correct answer is prstat .
Search WWH ::




Custom Search