CompTIA LX0-101 Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: LX0-101
  • Exam Name/Title: CompTIA Linux+ [Powered by LPI] Exam 1
  • Certification Provider: CompTIA
  • Corresponding Certification: Linux+
  • Exam Questions: 119
  • Updated On: Jul 24, 2026
Which of the following command lines would an administrator use to restrict the GNU find command to searching a particular number of subdirectories?
Correct Answer: D Vote an answer
To ensure that a running process continue to execute after you log out, the process should be started with which of the following commands?
Correct Answer: B Vote an answer
CORRECT TEXT
An administrator has sent their current vi process with a PID of 1423 to the background on the command line. Assuming no other processes are in the background, what single command with no options or parameters will bring the vi process to the foreground?
Correct Answer:
%1,fg fg is a job control command in Unix and Unix-like operating systems that resumes execution of a suspended process by bringing it to the foreground and thus redirecting its standard input and output streams to the user's terminal.
CORRECT TEXT
Which command will display messages from the kernel that were output during the normal bootup sequence? (Please enter only a single command and do not enter duplicate answers in this field.)
Correct Answer:
/bin/dmesg,dmesg
While editing a file in vi, an administrator realizes that the wrong file is being changed. Which of the following vi command sequences will allow the administrator to quit without saving any changes?
Correct Answer: D Vote an answer
CORRECT TEXT
An administrator wants to display all currently mounted file systems. Which command would be used? (Please enter only a single command without arguments or options).
Correct Answer:
/bin/df,/bin/mount,df,mount
CORRECT TEXT
The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.
Correct Answer:
reconfigure
Which of the following directories contains additional information about installed packages?
Correct Answer: E Vote an answer
An administrator has created a really long letter and after the administrator is done, notices that the name "Bob" has been used many times. The administrator forgot to capitalize it in many instances. Which of the following commands would replace "bob" with "Bob" in all instances and generate a new letter for printing?
Correct Answer: B Vote an answer
0
0
0
10