ch 9 quiz linux
In which directory would a system administrator store scripts that should be run monthly by the cron daemon?
/etc/cron.monthly
A system administrator wants to allow most users to be able to run cron jobs, but wants to specifically prevent a couple of users from doing so. Which of the following files could the administrator edit to disallow these users from creating cron jobs?
A system administrator wants to allow most users to be able to run cron jobs, but wants to specifically prevent a couple of users from doing so. Which of the following files could the administrator edit to disallow these users from creating cron jobs?
A system administrator wants to schedule a task to run at 11 pm, but knows that she will not be in the office at that time. Which of the following commands can she use to schedule this task to run that night while she is at home?
at
Which of the following commands will display a list of the pending jobs to be run? (Choose all that apply.)
at -l atq at -q
You have run the top command successfully, but realize that the q key on the keyboard has suddenly stopped working. What is another way that you can exit out of the top program?
ctrl-c
You have started a job running in the background that you want to now bring to the front so that you can watch it execute. Which of the following commands can be used to display the job's output to the terminal?
fg
Which of the following commands can be used to only show jobs that have been paused.
jobs -s
Which of the following commands will send a process's resources to /dev/null to kill the process for process ID 1357?
kill -9 1357
Which of the following characters, when pressed while the top program is running, will allow you to change the niceness of a process?
r
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