CORRECT TEXT
Typically, which top level system directory is used for files and data that change regularly while the system is running and are to be kept between reboots? (Specify only the top level directory)
CORRECT TEXT
Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)
Which of the following commands lists the dependencies of a given dpkg package?
A. apt-cache depends-onpackage
B. apt-cache dependencies package
C. apt-cache depends package
D. apt-cache requires package
Which shell command is used to continue background execution of a suspended command?
A. and
B. bg
C. cont
D. exec
E. :and
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
A. fmt -f 1,4 /etc/passwd
B. split -c 1,4 /etc/passwd
C. cut -d : -f 1,4 /etc/passwd
D. paste -f 1,4 /etc/passwd
After running the command umount /mnt, the following error message is displayed:
umount: /mnt: device is busy.
What is a common reason for this message?
A. The kernel has not finished flushing disk writes to themounted device.
B. A user has a file open in the /mnt directory.
C. Another file system still contains a symlink to a file inside /mnt.
D. The files in /mnt have been scanned and added to the locate database.
E. The kernel thinks that a process is about toopen a file in /mnt for reading.
What is the purpose of the xargs command?
A. It passes arguments to an X server.
B. It reads standard input (STDIN) and builds up command lines to execute.
C. It helps shellscripts take variable argument lists.
D. It asks a question, graphically, and returns the answer to the shell.
E. It allows users to specify long options for commands that normally only accept short options.
When planning a partition scheme, which of the following directories could be considered for separate partitions? (Choose three.)
A. /etc
B. /home
C. /var
D. /lib
E. /opt
Which command is used to query information about the available packages on a Debian system?
A. apt-cache
B. apt-get
C. apt-search
D. dpkg
E. dpkg-search
When is the content of the kernel ring buffer reset? (Choose two.)
A. When the ring buffer is explicitly reset using the command dmesg --clear
B. When the ring buffer is read using dmesg without any additional parameters
C. When a configurable amount of time, 15 minutes by default, has passed
D. When the kernel loads a previously unloaded kernel module
E. When the system is shut down or rebooted