Free Lpi 101-500 Practice Test & Real Exam Questions
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?
Correct Answer: C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.)
Correct Answer: B,E
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following are valid stream redirection operators within Bash? (Choose two.)
Correct Answer: B,E
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
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.)
Correct Answer: A,B
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
What is the default action of the split command on an input file?
Correct Answer: B
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
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?
What is the usual way to pass this change to the kernel from your boot loader?
Correct Answer: B
Vote an answer
Explanation: Only visible for Pass4Leader 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.
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 is the default nice level when a process is started using the nice command?
Correct Answer: A
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
Correct Answer: A,C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
