Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ?
Which of the following commands will mount an already inserted CD-ROM in /dev/sr0 onto an existing directory /mnt/cdrom when issued with root privileges?
Which command is used to query information about the available packages on a Debian system?
You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?
Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?
Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?
Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)
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?
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 will print important system information such as the kernel version and machine hardware architecture?
When using regular expressions, which of the following characters match the beginning of a line?
Which command shows all shared libraries required by a binary executable or another shared library? (Specify ONLY the command without any path or parameters.)
What command changes the nice level of a running process? (Specify ONLY the command without any path or parameters)
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?
Which of the following commands will reduce all consecutive spaces down to a single space?
When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process?
From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)
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.)
A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?
Which character, added to the end of a command, runs that command in the background as a child process of the current shell?
Which grep command will print only the lines that do not end with a / in the file foo?
Which of the following shell redirections will write standard output and standard error output to a file named filename?
Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?
What is the first program the Linux kernel starts at boot time when using System V init?
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
A faulty kernel module is causing issues with a network interface card. Which of the following actions ensures that this module is not loaded automatically when the system boots?
What information related to a user account is modified using the chage command?
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 of the following environment variables can be defined in locale. conf? (Choose TWO correct answers )
Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?
When redirecting the output of find to the xargs command, what option to find is useful if the filenames contain spaces?
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?
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 true regarding the statement beginning with #! that is found in the first line of a script? (Choose TWO correct answers.)
If neither cron. allow nor cron. deny exist in /etc/, which of the following is true?
When removing a package, which of the following dpkg options will completely remove the files including configuration files?
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (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 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 lists all currently installed packages when using RPM package management?
The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.
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.)
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
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 lists the dependencies of a given dpkg package?
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/
What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)
Which of the following commands is used to update the list of available packages when using dpkg based package management?
Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
During a system boot cycle, what program is executed after the BIOS completes its tasks?
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 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 are init systems used within Linux systems? (Choose THREE correct answers.)
The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)
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 information is stored within the BIOS? (Choose TWO correct answers.)
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?
The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)
Which command will display messages from the kernel that were output during the normal boot sequence?
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.)
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)