LX0-101 Exam Details

  • Exam Code
    :LX0-101
  • Exam Name
    :CompTIA Linux+ [Powered by LPI] Exam 1
  • Certification
    :CompTIA Linux+
  • Vendor
    :CompTIA
  • Total Questions
    :124 Q&As
  • Last Updated
    :Jul 09, 2026

CompTIA LX0-101 Online Questions & Answers

  • Question 71:

    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?

    A. sed '/bob/Bob' letter > newletter
    B. sed s/bob/Bob/ letter < newletter
    C. sed 's/bob/Bob' letter > newletter
    D. sed 's/bob/Bob/g' letter > newletter
    E. sed 's/bob, Bob/' letter > newletter

  • Question 72:

    Which program finds only files that are in an administrator's PATH?

  • Question 73:

    Which of the following commands will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?

    A. cut -d: -f1,3 /etc/passwd
    B. chop -c 1,3 /etc/passwd
    C. tac 1-3 /etc/passwd
    D. fmt -u /etc/passwd

  • Question 74:

    All of the following commands will execute the bash script /usr/local/bin/runme.sh EXCEPT:

    A. source /usr/local/bin/runme.sh
    B. . /usr/local/bin/runme.sh
    C. /bin/bash /usr/local/bin/runme.sh
    D. /usr/local/bin/runme.sh
    E. run /usr/local/bin/runme.sh

  • Question 75:

    An administrator wishes to kill a process with a PID of 123. Which of the following commands will allow the process to "clean up" before exiting?

    A. kill -1 123
    B. kill -9 123
    C. kill -15 123
    D. kill -17 123

  • Question 76:

    Upon booting a Linux box, an administrator notices a message scrolling by that does not look right, but it goes by so fast, the administrator does not have a chance to read it. What command could the administrator use to view that message after the boot process completes? (Please enter only a single command and do not enter duplicate answers in this field.)

  • Question 77:

    Which of the following commands will print line numbers before each line in a file?

    A. ln
    B. nl
    C. cat -e
    D. numline

  • Question 78:

    In which directory must definition files be placed to add additional repositories to yum?

  • Question 79:

    Which of the following is the difference between the --remove and the --purge action with the dpkg command?

    A. --remove removes the program, --purge also removes the config files.
    B. --remove only removes the program, --purge only removes the config files.
    C. --remove removes a package, --purge also removes all packages dependent on it.
    D. --remove removes only the package file itself, --purge removes all files related to the package.

  • Question 80:

    An administrator is writing text in vi. Now the administrator wants to save their changes and exit. Which of the following sequence of inputs will accomplish this? (Select TWO).

    A. esc ZZ
    B. ctrl :w!
    C. esc zz
    D. esc :wq!
    E. ctrl XX

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only CompTIA exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your LX0-101 exam preparations and CompTIA certification application, do not hesitate to visit our Vcedump.com to find your solutions here.