ITN 170, chapter 8,9
Which of the following system variables can you modify to override the default system timezone within your current shell? LC_TZ LOCALE TZ TIME
TZ
Which of the following commands will display a list of the pending jobs to be run? (Choose all that apply.) at -q atq at -d at -l
at -q atq at -l
Which of the following is an on-screen keyboard used with Linux? XK TOKEN GOK xkb
xkb
Which of the following command can be used to remove a job from the list of pending jobs? (Choose all that apply.) atrm at --remove at -r at -d
at -r at -d atrm
Which of the following is the default desktop environment used by Linux Mint? Unity Cinnamon GNOME KDE
Cinnamon
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 SIGINT SIGTERM SIGKILL
SIGQUIT
Which of the following commands will list the time zones available on a Linux system? timedatectl list-timezones timezones date --timezones tzlist
timedatectl list-timezones
Which of the following commands will prompt you to answer a series of questions to help determine which time zone file you should use? zones zoneselect timezones tzselect
tzselect
Which of the following commands will display the number of seconds that have elapsed since January 1, 1970? date +%s date --epochdiff datetime -s datetime --epoch
date +%s
Which of the following commands can be used to only show jobs that have been paused. jobs -r jobs -s jobs -p jobs -n
jobs -s
Which of the following is the default window manager used by the GNOME version 3 desktop environment? mutter metacity wmaker kwin
mutter
Which of the following commands will show the current runlevel along with the previous runlevel? (Choose all that apply.) runlevel init -r echo $RUNLEVEL telinit -r
runlevel
Which of the following commands will shut down a Linux system? (Choose all that apply.) telinit 0 shutdown -h now poweroff runlevel 0
telinit 0 shutdown -h now poweroff
Which of the following files is where the default runlevel is set on some Linux systems? /etc/rc.d/init.conf /etc/init.d/init /etc/rc.d/init.d/init.conf /etc/inittab
/etc/inittab
What option can be used with the ps command to display an entire list of processes across all Terminals, including daemons? -e -a -f -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.d/cron.allow /etc/cron.allow /etc/cron.d/cron.deny /etc/cron.deny
/etc/cron.deny
Which of the following files is a binary file that contains the rules for calculating the time based on your time zone relative to epoch time? /usr/local/bin/timecalc /etc/localtime /sbin/timeadj /sbin/tickadj
/etc/localetime
In addition to /etc/localtime, some Linux distributions also have an /etc/timezone text file that contains a reference to the correct time zone file contained in which directory? /etc/zoneinfo /usr/zoneinfo /usr/share/zoneinfo /usr/local/zoneinfo
/usr/share/zoneinfo
Where are scheduled commands stored on Ubuntu Linux systems? /etc/at/ /var/spool/at /tmp/at /var/spool/cron/atjobs
/var/spool/cron/atjobs
If a process state is currently showing as uninterruptible sleep, which letter will show in the output of the ps command? D U N S
D
Which of the following accessibility features simulates simultaneous key presses when two keys are pressed in sequence? Sticky Keys Bounce Keys Slow Keys Repeat Keys
Sticky Keys
Which of the following is a valid Linux initialization process? Systemd SysV GRUB GRUB2
Systemd SysV
What is contained in the DISPLAY variable on a Linux system running the X window system? How many monitors are connected to a Linux system. Which X server the client is supposed to connect to by default. The resolution of the monitor connected to the Linux system. The display manager that should be used.
Which X server the client is supposed to connect to by default.
Which of the following commands will show the current user cron jobs that have been created for the currently logged in user? cronjobs --list crontab -l cron -l cron --list
crontab -l
Which of the following can be used to compare the hardware clock to the system clock, writing a new result to a new line every 10 seconds? hwtosys -c systohc --compare hwclock -c compare --hw2sys
hwclock -c
Which of the following commands can be used to convert files between different character encodings? conv transform convert iconv
iconv
Which of the following commands will show a number of environment variables that start with LC_? printenv localvar locale env
locale
Which of the following commands can be used to display the current locale of a system? syslocale localed locale localectl
locale localectl
Which of the following commands can be used to see files that are currently being used by a specific process ID (PID)? pstatus psfiles lsof pids
lsof
Which of the following commands will generate a new initramfs? cutram mkinit dracut mkinitrd
mkinit
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
24-Which of the following commands will display a list of Systemd units sorted by the time they took to load? systemctl-analyze --blame systemd-analyze blame systemctl --listload systemd --listload
systemd-analyze blame
Which of the following options can be specified in the GRUB Legacy configuration file to set how long the boot menu is displayed before loading the default image? wait timeout splash timer
timeout
Which of the following is responsible for starting tasks and services during boot, stopping them during shutdown, and supervising them while the system is running? GRUB Kickstart POST Upstart
upstart
If incompatible X Windows settings are configured, where will the errors that are generated be written to? ~/.xsession-errors ~/.xwin-error /var/log/xwindows.error ~/.xerror
~/.xsession-errors