CHP 9

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

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 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

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

After a background process has been started, what command below can be used to move it to the foreground?

fg

Which of the following commands can be used to see files that are currently being used by a specific process ID (PID)?

lsof

Which of the following can be used preceding a command to prevent a process from terminating when the parent process terminates?

nohup

Which of the following commands will show a list of process names along with their process ID (PID)? (Choose two.)

ps top

What command is used to display the lineage of a process by tracing its PPIDs until the init daemon?

pstree

While the top command is running, what key can be pressed to change the nice value of a process?

r

Where are scheduled commands stored on Ubuntu Linux systems?

/var/spool/cron/atjobs

Which of the following commands can be used to terminate a process by the process name?

pkill

Which of the following characters, when pressed while the top program is running, will allow you to change the niceness of a process?

r

What option can be used with the ps command to display an entire list of processes across all

-e

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?

/etc/cron.deny

Which of the following is the highest value that can be set for the nice value which would result in a greater chance of a lower priority?

19

If a process state is currently showing as uninterruptible sleep, which letter will show in the output of the ps command?

D

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

Which of the following commands will show the current user cron jobs that have been created for the currently logged in user?

crontab -l

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 commands can be used to schedule very frequent recurring tasks, such as running once every minute?

watch

Which of the following states describe a process that is waiting for a parent process to release its PID?

zombie


Ensembles d'études connexes

Intro to Computer Forensics Test 2

View Set

(Gillesania)ALGEBRA SETS 7, 8, 9

View Set

Chapter 23 "The Great Depression"

View Set

Chapter 4: Patient Safety and Quality Improvement

View Set

Purchasing and Buyer Behavior Exam 3 Review: Connect Quizzes

View Set