Which of the following commands replaces each occurrence of ' bob ' in the file letter with ' Bob ' and writes the result to the file newletter?
What command will generate a list of user names from /etc/passwd along with their login shell?
Which variable defines the directories in which a Bash shell searches for executable commands?
Which shell command is used to continue background execution of a suspended command?
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.)
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 can be used to create a new file that is 100kB in size?
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem ' s make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)
Which SysV init configuration file is commonly used to set the default run level? (Specify the full name of the file, including path.)
Which of the following commands updates the already installed RPM package rpmname?
Which of the following command lines creates or, in case it already exists, overwrites a file called data with the output of ls?
Which of the following commands can be used to display the inode number of a given file?
Which of the following commands will print important system information such as the kernel version and machine hardware architecture?
Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)
Which command is used to create and initialize the files used to store quota information? (Specify ONLY the command without any path or parameters.)
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
After modifying GNU GRUB ' s configuration file, which command must be run for the changes to take effect?
Which of the following statements is correct regarding the command foo 1 > bar?
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
HUP
SIGHUP
1
A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
menu.lst
grub.conf
grub.cfg
Which of the following environment variables overrides or extends the list of directories holding shared libraries?
Which of the following commands can be used to perform a full text search on all available packages on a Debian system?
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.)
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 can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Swapoff
/sbin/swapoff
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 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 partition types is used for Linux swap spaces when partitioning hard disk drives?
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 umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.)
What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked?
If an alias Is exists, which of the following commands updates the ai as to point to dig contmfl nd is -1 instead of the alias ' s current target?
On a system using systemd-joumaid, which of the following commands add the message Howdy to the system log? (Choose TWO correct answers.)
append Howdy
Which of the following commands display the number of bytes transmitted and received via the eth0 network interfaced (Choose TWO correct answers.)
Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)
Which program runs a command in specific intervals and refreshes the display of the program’s output? (Specify ONLY the command without any path or parameters.)
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 file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
During a system boot cycle, what is the program that is run after the BIOS completes its tasks?
Which of the following options for the kernel ' s command line changes the systemd boot target to rescue.target instead of the default target?
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
Which command will display messages from the kernel that were output during the normal boot sequence?
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)
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 commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
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?
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
The message " Hard Disk Error " is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
Creating a hard link to an ordinary file returns an error. What could be the reason for this?
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)
update
upgrade
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?
In which directory must definition files be placed to add additional repositories to yum?
/etc/yum.repos.d
/etc/yum.repos.d/
yum.repos.d
yum.repos.d/
Which of the following commands lists the dependencies of a given dpkg package?
Which file should be edited to select the network locations from which Debian installation package files are loaded?
Which of the following files, located in the user home directory, is used to store the Bash history?
Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
Which of the following are valid stream redirection operators within Bash? (Choose two.)
Consider the following directory:
drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales
Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)
What is true regarding public and pnvate SSH keys? (Choose TWO correct answers.)
Which of the following commands lists all defined variables and functions within Bash?
Given the following routing table:

How would an outgoing packet to the destination 192 168 2 150 be handled?