Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
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 system is having trouble and the engineer wants to bypass the usual /sbin/init start up and run /bin/sh. What is the usual way to pass this change to the kernel from your boot loader?
Which of the following commands will write a message to the terminals of all logged in users?
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
During a system boot cycle, what is the program that is run after the BIOS completes its tasks?
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)
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 kernel parameters instructs the kernel to suppress most boot messages?
The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?
In compliance with the FHS, in which of the following directories are documentation files found?
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
When piping the output of find to the xargs command, what option to find is useful if the filenames have spaces in them?
Which of the following commands changes all occurrences of the word “bob” in file data to “Bob” and prints the result to standard output?
After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?
Which of the following examples for Bash file globbing matches a file named root-can-do-this.txt when used in the directory holding that file? (Choose three correct answers.)
Which of the following commands prints a list of available package updates when using RPM-based package management?
Which of the following is the device file name for the second partition on the only SCSI drive?
After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.)
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
Which of the following commands converts spaces in a file to tab characters and prints the result to standard output?
Which of the following command lines creates or, in case it already exists, overwrites a file called data with the output of ls?
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
An administrator has issued the following command:
grub-install --root-directory=/custom-grub /dev/sda
In which directory will new configuration files be found? (Provide the full directory path only without the filename)
To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program's shared libraries?
What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)
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?
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
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 environment variables overrides or extends the list of directories holding shared libraries?
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 of the following commands lists the dependencies of a given dpkg package?
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)
When removing a package, which of the following dpkg options will completely remove the files including configuration files?
Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)
Which shell command is used to continue background execution of a suspended command?
Which of the following commands can be used to create a USB storage media from a disk image?
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 moves and resumes in the background the last stopped shell job?
Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?
Which of the following files, located in the user home directory, is used to store the Bash history?
When given the following command line.
echo "foo bar" | tee bar | cat
Which of the following output is created?
Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)
You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?
Given the following input stream:
txt1.txt
atxt.txt
txtB.txt
Which of the following regular expressions turns this input stream into the following output stream?
txt1.bak.txt
atxt.bak.txt
txtB.bak.txt
Which of the following commands lists the dependencies of the RPM package file foo.rpm?
Which command uninstalls a package but keeps its configuration files in case the package is re-installed?
Which command must be entered before exiting vi to save the current file as filea.txt?
Which of the following files, located in a user’s home directory, contains the Bash history?
Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata?
What output will be displayed when the user fred executes the following command?
echo ‘fred $USER’
Which of the following apt-get subcommands installs the newest versions of all currently installed packages?
Which of the following files exist in a standard GRUB 2 installation? (Choose two.)