3 Months Free Update
3 Months Free Update
3 Months Free Update
Which command creates a swap space on a block device or a file? (Specify ONLY the command without any path or parameters.)
Which of the following statements is correct for a command line ending with a & character?
Which grep command will print only the lines that do not end with a / in the file foo?
A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?
Which of the following explanations are valid reasons to run a command in the background of your shell?
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.)
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 shell redirections will write standard output and standard error output to a file named filename?
What command will generate a list of user names from /etc/passwd along with their login shell?
In compliance with the FHS, in which of the following directories are documentation files found?
Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
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.)
Which file in /proc describes the IRQs that are used by various kernel drivers? (Specify the file name only without any path.)
Which of the following commands will print the last 10 lines of a text file to the standard output?
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 environment variables overrides or extends the list of directories holding shared libraries?
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?
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
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 of the following commands can be used to perform a full text search on all available packages on a Debian system?
Which file should be edited to select the network locations from which Debian installation package files are loaded?
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 commands updates the linker cache of shared libraries?
Which of the following commands is used to update the list of available packages when using dpkg based package management?
Which of the following commands lists all currently installed packages when using RPM package management?
To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program's shared libraries?
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
Which command shows all shared libraries required by a binary executable or another shared library? (Specify ONLY the command without any path or parameters.)
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 command is used to start another command with a given nice level? (Specify ONLY the command without any path or parameters.)
Which is the default percentage of reserved space for the root user on new ext4 filesystems?
Which of the following vi commands deletes two lines, the current and the following line?
Which command uninstalls a package but keeps its configuration files in case the package is re-installed?
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)
Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?
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 SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
What of the following statements are true regarding /dev/ when using udev? (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?
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)
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
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.)
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?
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?
When considering the use of hard links, what are valid reasons not to use hard links?
Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked?
Which of the following directories on a 64-bit Linux system typically contain shared libraries? (Choose two.)
What is the first program the Linux kernel starts at boot time when using System V init?
Which of the following files exist in a standard GRUB 2 installation? (Choose two.)
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 of the following commands installs GRUB 2 into the master boot record on the third hard disk?
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