3 Months Free Update
3 Months Free Update
3 Months Free Update
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
Which of the following statements is correct for a command line ending with a & character?
Which variable defines the directories in which a Bash shell searches for executable commands?
Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line breaks and stores the result in newlist.txt?
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.)
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
Which of the following commands can be used to create a USB storage media from a disk image?
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
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.)
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)
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 commands reboots the system when using SysV init? (Choose TWO correct answers.)
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
Which run levels should never be declared as the default run level 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 SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
Which shell command is used to continue background execution of a suspended command?
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?
The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.
Which command creates a swap space on a block device or a file? (Specify ONLY the command without any path or parameters.)
A Debian package creates several files during its installation. Which of the following commands searches for packages owning the file /etc/debian_version?
What command will generate a list of user names from /etc/passwd along with their login shell?
When given the following command line.
echo "foo bar" | tee bar | cat
Which of the following output is created?
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
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 will display the inode usage of each mounted filesystem?
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.)
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.
Which of the following commands can be used to create a new file that is 100kB in size?
When using regular expressions, which of the following characters match the beginning of a line?
In the vi editor, which of the following commands will copy the current line into the vi buffer?
Which grep command will print only the lines that do not end with a / in the file foo?
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Swapoff
/sbin/swapoff
Which of the following commands can be used to perform a full text search on all available packages on a Debian system?
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?
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.)
Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends which of the following signal codes?
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.)
Which command shows all shared libraries required by a binary executable or another shared library? (Specify ONLY the command without any path or parameters.)
Which command will uninstall a package but leave its configuration files in case the package is re-installed?
Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?
Which command uninstalls a package but keeps its configuration files in case the package is re-installed?
Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?
Which of the following commands redirects the output of ls to standard error?
What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
Which of the following files, located in a user’s home directory, contains the Bash history?
Which of the following tasks are handled by a display manager like XDM or KDM? (Choose TWO correct answers.)
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 option to useradd creates a new user's home directory and provisions it with a set of standard files'? (Specify ONLY the option name without any values or parameters.)
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)
Which of the following statements is correct regarding the command foo 1> bar?
How do shadow passwords improve the password security in comparison to standard non-shadow passwords'?
What is true about NetworkManager on a Linux system that uses its distnbution's mechanisms to configure network interfaces? (Choose TWO correct answers )
When removing a package, which of the following dpkg options will completely remove the files including configuration files?
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 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 RPM command will output the name of the package which supplied the file /etc/exports?
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 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 commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
Which of the following commands lists the dependencies of a given dpkg package?
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 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.)