ACCURATE SOLUTIONS A+ GRADED FOR
SPRING SERIES (Linux)
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
Which of the following commands will display a list of the pending jobs to
be run? (Choose all that apply.)
at -q
If a process state is currently showing as uninterruptible sleep, which letter
will show in the output of the ps command?
D
Which of the following environment variables can you change the value of
to set the default printer on a Linux system? (Choose two.)
-) PRINTER
-) LPDEST
Which of the following commands can be used to set the default printer for
all users on a Linux system where printer1 is the name of the printer?
lpoptions -d printer1
In which of the following directories can you place files that will be copied
to new user directories when new users are created?
,/etc/skel
Which of the following commands can be used to set the number of days
until user account jsmith with an expired password is disabled?
usermod -f 15 jsmith
The System Log Daemon, rsyslogd, creates a socket for other system
processes to write to. What is the path to this socket?
/dev/log
Which of the following commands will display the print jobs in the print
queue for printer1 only?
lpstat -o printer1
What is the path to where the journald.conf file is located?
/etc/systemd/journald.conf
Which of the following options can be used with the usermod command to
change the description of the user account that is stored in the GECOS
field?
-c
Which of the following commands can you use to send a print job to
printer1? (Choose all that apply.)
-) lpr -P printer1 mydocument.txt
-) lp -d printer1 mydocument.txt
Which of the following will display the contents of the /etc/shadow file?
(Choose all that apply.)
-) cat /etc/shadow
-) getent /etc/shadow
Emily accidentally created a new user account on the wrong server. Which
of the following commands could she use to delete the account she
created? (Choose all that apply.)
, -) userdel
-) deluser
Which of the following is the log file where Dandified YUM writes its log
entries?
dnf.rpm.log
Which of the following is the log file where the Debian Package Manager
writes entries for actions taken and packages installed?
dpkg.log
Which of the following commands can you use to view events within the
journald database?
journalctl
Which of the following two commands can be used to add custom log file
entries to the journald database? (Choose two.)
-) systemd-cat
-) logger
Which of the following commands can be used to pause a printer named
Printer1?
cupsdisable Printer1
Which of the following files stores information about failed logins on a
Linux system?
/var/log/btmp
Which of the following commands can be used to remove a group from a
Linux system? (Choose all that apply.)
-) Delgroup
-) groupdel
Which of the following entries could be added to the rsyslog.conf
configuration file to have all syslog messages displayed to console 10?