NOS 120 Study Guide Ch. 8
What option can be used with thepscommand to display an entire list of processes across all Terminals, including daemons? Select one: a. -e b. -f c. -a d. -l
-e
In which directory would a system administrator store scripts that should be run monthly by the cron daemon? Select one: a. /etc/crontab/monthly b. /var/cron/monthly c. /var/crontab/monthly d. /etc/cron.monthly
/etc/cron.monthly
Which of the following commands will generate a new initramfs? Select one or more: a. dracut b. mkinit c. mkinitrd d. cutram
mkinitrd, dracut
Which of the following characters, when pressed while the top program is running, will allow you to change the niceness of a process? Select one: a. d b. p c. r d. n
r
While the top command is running, what key can be pressed to change the nice value of a process? Select one: a. n b. v c. r d. p
r
Which of the following commands will prompt you to answer a series of questions to help determine which time zone file you should use? Select one: a. tzselect b. timezones c. zoneselect d. zones
tzselect
Which of the following states describe a process that is waiting for a parent process to release its PID? Select one: a. dead b. wait c. suspended d. zombie
zombie
What is contained in the DISPLAY variable on a Linux system running the X window system? Select one: a. Which X server the client is supposed to connect to by default. b. How many monitors are connected to a Linux system. c. The display manager that should be used. d. The resolution of the monitor connected to the Linux system.
Which X server the client is supposed to connect to by default.
Which of the following commands will display a list of the pending jobs to be run? (Choose all that apply.) Select one or more: a. at -q b. atq c. at -d d. at -l
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? Select one: a. ctrl-c b. ctrl-w c. ctrl-q d. ctrl-x
ctrl-c
After a background process has been started, what command below can be used to move it to the foreground? Select one: a. fgnd b. fgd c. b2f d. fg
fg
Which of the following commands can be used to convert files between different character encodings? Select one: a. conv b. transform c. convert d. iconv
iconv
Which of the following commands can be used to only show jobs that have been paused. Select one: a. jobs -r b. jobs -n c. jobs -p d. jobs -s
jobs -s
Which of the following commands will show a number of environment variables that start with LC_? Select one: a. env b. localvar c. locale d. printenv
locale
Which of the following commands can be used to see files that are currently being used by a specific process ID (PID)? Select one: a. psfiles b. pstatus c. lsof d. pids
lsof
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? Select one: a. 20 b. 10 c. 0 d. 19
19
Which of the following commands will show a list of process names along with their process ID (PID)? (Choose two.) Select one or more: a. top b. jobs c. ps d. proc
ps top
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? Select one: a. SIGQUIT b. SIGINT c. SIGKILL d. SIGTERM
SIGQUIT
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? Select one: a. /etc/cron.allow b. /etc/cron.deny c. /etc/cron.d/cron.deny d. /etc/cron.d/cron.allow
/etc/cron.deny
Which of the following does Click Assist do? Select one: a. Simulates a left click by holding down the left shift key or a right click by holding down the right shift key. b. Simulates a right click by holding down the left mouse button. c. Simulates a right click by holding down the Ctrl key on the keyboard. d. Reads the text for buttons on the screen so the user knows what they may be clicking on.
Simulates a right click by holding down the left mouse button.
Which of the following accessibility features simulates simultaneous key presses when two keys are pressed in sequence? Select one: a. Slow Keys b. Repeat Keys c. Sticky Keys d. Bounce Keys
Sticky Keys
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? Select one: a. disp b. fg c. front d. jobs -f
fg
Which of the following commands will shut down a Linux system? (Choose all that apply.) Select one or more: a. telinit 0 b. poweroff c. runlevel 0 d. shutdown -h now
shutdown -h now poweroff telinit 0
Which of the following commands will display a list of Systemd units sorted by the time they took to load? Select one: a. systemd --listload b. systemctl --listload c. systemd-analyze blame d. systemctl-analyze --blame
systemd-analyze blame
If incompatible X Windows settings are configured, where will the errors that are generated be written to? Select one: a. /var/log/xwindows.error b. ~/.xerror c. ~/.xwin-error d. ~/.xsession-errors
~/.xsession-errors