Which of the following commands can be used to perform a full text search on all available packages on a Debian system?
When removing a package, which of the following dpkg options will completely remove the files including configuration files?
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
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 file from the /proc file system contains a list of all currently mounted devices? (Specify ONLY the command without any path or parameters.)
Which of the following commands prints a list of available package updates when using RPM-based package management?
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/
The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.
What is the difference between the --remove and the --purge action with the dpkg command?
Which of the following commands can be used to download the RPM package kernel without installing it?
Which of the following environment variables overrides or extends the list of directories holding shared libraries?
Which RPM command will output the name of the package which supplied the file /etc/exports?
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 option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)
update
upgrade
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.)
Which file should be edited to select the network locations from which Debian installation package files are loaded?
Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?
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
Which of the following shell redirections will write standard output and standard error output to a file named filename?
Which of the following commands can be used to create a USB storage media from a disk image?
Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)
mkdir
/usr/bin/mkdir
In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?
What command changes the nice level of a running process? (Specify ONLY the command without any path or parameters)
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?
In the vi editor, what vi command will copy (but not paste) from the current line at the cursor and the following 16 lines (17 lines total)? Specify the correct vi command without spaces.
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 apt-get commands will install the newest versions of all currently installed packages?
Which of the following commands will display the inode usage of each mounted filesystem?
Which of the following statements describes a difference between GNU GRUB Legacy and GRUB 2?
Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)
When using regular expressions, which of the following characters match the beginning of a line?
Which of the following commands display the number of bytes transmitted and received via the eth0 network interfaced (Choose TWO correct answers.)
When redirecting the output of find to the xargs command, what option to find is useful if the filenames contain spaces?
Which umask value ensures that new directories can be read, written and listed by their owning user, read and listed by their owning group and are not accessible at all for everyone else?
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.)
Which wildcards will match the following filenames? (Choose two.)
ttyS0
ttyS1
ttyS2
Which is the default percentage of reserved space for the root user on new ext4 filesystems?
Which of the following is true when a file system, which is neither listed in /etc/fstab nor known to system, is mounted manually?
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?
Which of the following vi commands deletes two lines, the current and the following line?
Consider the following output from the command ls –i:
How would a new file named c.txt be created with the same inode number as a.txt (Inode 525385)?
You suspect that a new ethernet card might be conflicting with another device. Which file should you check within the /proc tree to learn which IRQs are being used by which kernel drivers?
Which of the following information is stored within the BIOS? (Choose TWO correct answers.)
Which of the following apt-get subcommands installs the newest versions of all currently installed packages?
Which of the following commands will write a message to the terminals of all logged in users?
Which of the following commands can be used to display the inode number of a given file?
Which command is used to query information about the available packages on a Debian system?
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 makes /bin/foo executable by everyone but writable only by its owner?
During a system boot cycle, what program is executed after the BIOS completes its tasks?
During a system boot cycle, what is the program that is run after the BIOS completes its tasks?
The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)
The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?
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?
Which of the following commands will print the last 10 lines of a text file to the standard output?
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 commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
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 commands can be used to determine how long the system has been running? (Choose TWO correct answers.)
Which of the following commands displays the contents of a gzip compressed tar archive?
Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?
Which grep command will print only the lines that do not end with a / in the file foo?
Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)
Which of the following command sets the Bash variable named TEST with the content FOO?
Which variable defines the directories in which a Bash shell searches for executable commands?
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?