101-400 LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 Questions and 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?
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
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 are valid stream redirection operators within Bash? (Choose THREE correct answers.)
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 file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
Which of the following commands will write a message to the terminals of all logged in users?
During a system boot cycle, what program is executed after the BIOS completes its tasks?
Which command will display messages from the kernel that were output during the normal boot sequence?
Which of the following information is stored within the BIOS? (Choose TWO 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.)
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose TWO correct answers.)
Which of the following commands can be used to create a new file that is 100kB in size?
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 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 partition types is used for Linux swap spaces when partitioning hard disk drives?
Which of the following commands updates the already installed RPM package rpmname ?
Which command is used to start another command with a given nice level? (Specify ONLY the command without any path or parameters.)
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file 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?
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 instructs SysVinit to reload its configuration file?
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 ?
Which of the following shell commands makes the already defined variable TEST visible to new chi ld processes? (Choose two.)
When running the command
sed -e "s/a/b/" /tmp/file > /tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?
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.)
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?
What is the default nice level when a process is started using the nice command?
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
Which of the following commands lists the dependencies of a given dpkg package?
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)
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 can be used to download the RPM package kernel without installing it?
Which of the following commands lists all currently installed packages when using RPM package management?
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 will reduce all consecutive spaces down to a single space?
When given the following command line.
echo "foo bar" | tee bar | cat
Which of the following output is created?
Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?
Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)
