itn 170 ch 9

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

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

crontab -l

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 ctrl-q ctrl-w ctrl-x

ctrl-c

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

fg

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? disp fg front jobs -f

fg

Which of the following commands can be used to only show jobs that have been paused. jobs -p jobs -s jobs -n jobs -r

jobs -s

Which of the following commands will send a process's resources to /dev/null to kill the process for process ID 1357? sigkill 1357 killall 1357 kill -15 1357 kill -9 1357

kill -9 1357

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

lsof

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

nohup

Which of the following commands can be used to terminate a process by the process name? kill pkill stop pskill

pkill

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

ps top

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

pstree

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

r

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

r

Which of the following commands can be used to schedule very frequent recurring tasks, such as running once every minute? run watch do while

watch

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

zombie

What option can be used with the ps command to display an entire list of processes across all Terminals, including daemons? -a -f -e -l

-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 /etc/cron.d/cron.deny /etc/cron.allow /etc/cron.d/cron.allow

/etc/cron.deny

In which directory would a system administrator store scripts that should be run monthly by the cron daemon? /var/cron/monthly /etc/crontab/monthly /var/crontab/monthly /etc/cron.monthly

/etc/cron.monthly

Where are scheduled commands stored on Ubuntu Linux systems? /var/spool/cron/atjobs /etc/at/ /tmp/at /var/spool/at

/var/spool/cron/atjobs

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? 20 19 10 0

19

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

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? SIGINT SIGKILL SIGQUIT SIGTERM

SIGQUIT

Which of the following command can be used to remove a job from the list of pending jobs? (Choose all that apply.) at --remove atrm at -r at -d

artm at -r at -d

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? exec run at atq

at


Set pelajaran terkait

UNIT 2 EXAM: Gas exchange exemplars: Pleural effusion, RSV, PE

View Set

Chapter 21 - Developmental Concepts

View Set

MicroEcon 247 Practice Mid-Term Exam Part 1 (all MindTap Quizlets into one)

View Set