Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
Which command is used to query information about the available packages on a Debian system?
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?
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?
Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)
Which command reads and displays the current contents of the Kernel Ring Buffer on the command line? (Specify ONLY the command without any path or parameters.)
When planning a partition scheme, which of the following directories could be considered for separate partitions? (Choose three.)
Which option to the tee command will cause the output to be concatenated on the end of the output file instead of overwriting the existing file contents?
Which variable defines the directories in which a Bash shell searches for executable commands?
In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?
When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process?
Which of the following commands will print the last 10 lines of a text file to the standard output?
When running the command
sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?
Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)
Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?
killall -s _______ daemon
What command will generate a list of user names from /etc/passwd along with their login shell?
Which of the following commands can be used to create a USB storage media from a disk image?
Regarding the command:
nice -5 /usr/bin/prog
Which of the following statements is correct?
Which character, added to the end of a command, runs that command in the background as a child process of the current shell?
When given the following command line.
echo "foo bar" | tee bar | cat
Which of the following output is created?
Which of the following commands moves and resumes in the background the last stopped shell job?
Which of the following shell redirections will write standard output and standard error output to a file named filename?
Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?
The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
Which command will display messages from the kernel that were output during the normal boot sequence?
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information)
You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?
Which of the following information is stored within the BIOS? (Choose TWO correct answers.)
During a system boot cycle, what program is executed after the BIOS completes its tasks?
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?
Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
To prevent users from being able to fill up the / partition, the ____________ directory should be on a separate partition if possible because it is world writeable.
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
In which directory must definition files be placed to add additional repositories to yum?
Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.)
Which of the following commands is used to update the list of available packages when using dpkg based package management?
Which of the following commands can be used to download the RPM package kernel without installing it?
Which RPM command will output the name of the package which supplied the file /etc/exports?
Which of the following apt-get commands will install the newest versions of all currently installed packages without removing any packages or installing new packages that are not already installed?
Which file should be edited to select the network locations from which Debian installation package files are loaded?
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)
Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?
Which of the following apt-get subcommands installs the newest versions of all currently installed packages?
What output will be displayed when the user fred executes the following command?
echo ‘fred $USER’
Given a log file loga.log with timestamps of the format DD/MM/YYYY:hh:mm:ss, which command filters out all log entries in the time period between 8:00 am and 8:59 am?
The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?
What is the first program the Linux kernel starts at boot time when using System V init?
Which of the following commands lists the dependencies of the RPM package file foo.rpm?
Which of the following regular expressions represents a single upper-case letter?
Which is the default percentage of reserved space for the root user on new ext4 filesystems?
Which wildcards will match the following filenames? (Choose two.)
ttyS0
ttyS1
ttyS2