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 111:

    What command will print the shared libraries for the file /usr/lib/libpng12.so? (Provide the full command with library name but without any other options or parameters).

  • Question 112:

    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?

    A. :Q!
    B. :q!
    C. :w!
    D. :wq!

  • Question 113:

    What command is used to display a file in octal format? (Please enter only a single command and do not enter duplicate answers in this field.)

  • Question 114:

    An administrator is planning a partition scheme for a new Linux installation. Which of the following directories should the administrator consider for separate partitions? (Select THREE).

    A. /etc
    B. /home
    C. /var
    D. /lib
    E. /tmp

  • Question 115:

    Which of the following would be accomplished if the below line is run as root? chown -R bert /home/bert/*

    A. Nothing, this command is invalid.
    B. It would revoke bert's ownership from the home directory to root.
    C. It would change user ownership of all files in /home/bert to bert.
    D. It would set the group ownership of the directory /home/bert to bert.
    E. It would set ownership of all files and subdirectories in /home/bert to bert.

  • Question 116:

    Select the line that BEST represents what permissions the /etc/passwd file should have.

    A. -rw------- 1 root root 531 Jun 5 22:45 /etc/passwd
    B. -rw-r--r-- 1 root root 531 Jun 5 22:45 /etc/passwd
    C. -rw-r--r-- 1 1 1 531 Jun 5 22:45 /etc/passwd
    D. All answers listed are not correct.
    E. All answers listed are correct.

  • Question 117:

    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 118:

    Which of the following is the purpose of the Bash built-in export command?

    A. To allow disks to be mounted remotely.
    B. To run a command as a process in a sub-shell.
    C. To make the command history available to sub-shells.
    D. To setup environment variables for applications.
    E. To share NFS partitions for use by other systems on the network.

  • Question 119:

    Which of the following command lines would an administrator use to restrict the GNU find command to searching a particular number of subdirectories?

    A. --max-dirs
    B. -dirmax
    C. -maxdepth
    D. -s
    E. -n

  • Question 120:

    Which of the following commands will print to standard out only the lines that do not begin with # (pound symbol) in the file foobar?

    A. /bin/grep ^# foobar
    B. /bin/grep -v ^# foobar
    C. /bin/grep #$ foobar
    D. /bin/grep -v #$ foobar

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.