Lpi LPIC-1 Exam 101, Part 1 of 2, version 5.0 - 101-500 Exam Practice Test

Which of the following commands will print the last 10 lines of a text file to the standard output?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Which shell command is used to continue background execution of a suspended command?
Correct Answer: D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
What is the first program the Linux kernel starts at boot time when using System V init?
Correct Answer: D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Which of the following shell redirections will write standard output and standard error output to a file named filename?
Correct Answer: D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
Correct Answer:
jobs
Explanation:
The jobs command displays a list of all background tasks running in the current shell.
A background task is a process that is started with the & operator or suspended with Ctrl+Z and resumed with the bg command. The jobs command shows the job number, the status, and the command name of each background task. For example, the following output shows two background tasks: one is running (sleep 10) and one is stopped (ping www.howtogeek.com).
1- Running sleep 10 & 2+ Stopped ping www.howtogeek.com
References:
[LPI Exam 101 Detailed Objectives], Topic 103: GNU and Unix Commands, Objective 103.5: Create, monitor and kill processes, Weight: 4, Key Knowledge Areas: Use of jobs, fg and bg commands.
How to Run and Control Background Processes on Linux, Topic: The jobs Command.
What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)
Correct Answer: A,B,D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)
Correct Answer:
cmdline
Explanation:
The file in the /proc filesystem that lists the parameters passed from the bootloader to the kernel is /proc
/cmdline. This file contains a single line of text that shows the command line arguments that were used to boot the kernel. These arguments can include various options, such as the root device, the init process, the console device, and more. The /proc/cmdline file is read-only and cannot be modified at runtime. The parameters in this file are determined by the bootloader configuration, such as GRUB or LILO, and can be changed by editing the corresponding files12.
:1: The /proc Filesystem - The Linux Kernel documentation 2: passing bootloader arguments to the kernel - Unix & Linux Stack Exchange
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.
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
Correct Answer: C Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Which of the following commands will change the quota for a specific user?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?
Correct Answer: A Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).