Which of the following information is stored within the BIOS? (Choose TWO correct answers.)
Which file lists which users can execute commands using sudo? (Specify the full name of the file, including path.)
How many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28? (Specify the number only without any additional information.)
Which shell command is used to continue background execution of a suspended command?
Which of the following commands redirects the output of cmd to the file foo.txt, in which an existing file is overwritten?
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?
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 command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?
Given a file called birthdays containing lines like:
YYYY-MM-DD Name
1983-06-02 Tim
1995-12-17 Sue
Which command would you use to output the lines belonging to all people listed whose birthday is in May or June?
Which of the following commands reboots the system when using SysV init? (Choose TWO 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 of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)
What is the output of the following command sequence?
for token in a b c; do
echo -n "$token ";
done
What command will generate a list of user names from /etc/passwd along with their login shell?
Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?
Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH?
Which of the following commands will reduce all consecutive spaces down to a single space?
Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)
What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.)
What two character sequence is present at the beginning of an interpreted script? (Please specify the TWO correct characters only)
By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)
Which of the following commands lists the dependencies of a given dpkg package?
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
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?
Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?
With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)
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 options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?
Which of the following commands will print the last 10 lines of a text file to the standard output?
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 parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)
Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?
Which of the following commands lists all currently installed packages when using RPM package management?
Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)
Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?
Which of the following environment variables overrides or extends the list of directories holding shared libraries?
Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)
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 yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)
What command displays all aliases defined in the current shell? (Specify the command without any path information)
What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)
Which file should be edited to select the network locations from which Debian installation package files are loaded?
Which of the following commands can be used to display the inode number of a given file?
Which RPM command will output the name of the package which supplied the file /etc/exports?
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 can be used to locate programs and their corresponding man pages and configuration files?
Which of the following commands will help identify a broken router between the local and the remote machine?
What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
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 of the following commands displays the contents of a gzip compressed tar archive?
Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)
Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?
Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)
Which of the following fields can be found in the /etc/group file? (Choose THREE 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.)
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
The script, script.sh, consists of the following lines:
#!/bin/bash
echo $2 $1
Which output will appear if the command, ./script.sh test1 test2, is entered?
In which directory must definition files be placed to add additional repositories to yum?