Which grep command will print only the lines that do not end with a / in the file foo?
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 sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
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
Which of the following commands is used to update the list of available packages when using dpkg based package management?
What is the difference between the --remove and the --purge action with the dpkg command?
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.)
In which directory must definition files be placed to add additional repositories to yum?
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.)
You want to preview where the package file, apache-xml.i386.rpm, will install its files before installing it. What command do you issue?
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
Which variable defines the directories in which a Bash shell searches for executable commands?
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 shell command is used to continue background execution of a suspended command?
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Which of the following commands can be used to perform a full text search on all available packages on a Debian system?
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)
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 of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
Which of the following information is stored within the BIOS? (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.)
Given a log file loga.log with timestamps of the format DD/MM/YYYY:hh:mm:ss, which command filters out all log entries in the time period between 8:00 am and 8:59 am?
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 are valid stream redirection operators within Bash? (Choose two.)
Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.)
What is the first program the Linux kernel starts at boot time when using System V init?
Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?
Which of the following commands list all files and directories within the /tmp/ directory and its subdirectories which are owned by the user root? (Choose two.)
Which of the following apt-get subcommands installs the newest versions of all currently installed packages?
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
Which of the following properties of a Linux system should be changed when a virtual machine is cloned? (Choose two.)
Which of the following commands can be used to create a USB storage media from a disk image?
What is the default nice level when a process is started using the nice command?
A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?
Which of the following commands moves and resumes in the background the last stopped shell job?
In the vi editor, which of the following commands will copy the current line into the vi buffer?
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
Which of the following command lines creates or, in case it already exists, overwrites a file called data with the output of ls?
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.
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
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)
The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?
During a system boot cycle, what is the program that is run after the BIOS completes its tasks?
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)
The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)
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 important system information such as the kernel version and machine hardware architecture?
Which of the following describes the correct order in which the components of the system boot process are started?
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?
In compliance with the FHS, in which of the following directories are documentation files found?
When planning a partition scheme, which of the following directories could be considered for separate partitions? (Choose three.)
Following the Filesystem Hierarchy Standard (FHS), where should binaries that have been compiled by the system administrator be placed in order to be made available to all users on the system?
Which of the following commands will display the inode usage of each mounted filesystem?
Which of the following commands enables the setuid (suid) permission on the executable /bin/foo?
Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux standard LF characters and store it as newlist.txt?
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)