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
    :May 10, 2024

CompTIA CompTIA Linux+ LX0-101 Questions & Answers

  • Question 1:

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

    A. -s

    B. -dirmax

    C. --max-dirs

    D. -maxdepth

  • Question 2:

    Which 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 #$ foobar

    C. /bin/grep -v ^# foobar

    D. /bin/grep -v #$ foobar

  • Question 3:

    Which is the default process priority when a process is started using the nice command?

    A. 0

    B. -10

    C. -20

    D. 10

  • Question 4:

    Which is the default process priority when a process is started using the nice command?

    A. 16d

    B. 17x

    C. 17dd

    D. d17d

    E. 16dd

  • Question 5:

    In compliance with the FHS, in which of the following places are man pages typically found?

    A. /usr/share/man

    B. /opt/man

    C. /usr/doc/

    D. /var/pkg/man

    E. /usr/local/man

  • Question 6:

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

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

    A. --remove only removes the program, --purge only removes the config files.

    B. --remove removes the program, --purge also 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 8:

    Which of the following commands will uninstall a package but leave its configuration files in case a package is re-installed?

    A. None, no command will do this.

    B. dpkg -s pkgname

    C. dpkg -L pkgname

    D. dpkg -P pkgname

    E. dpkg -r pkgname

  • Question 9:

    How does an administrator get a list of files that have been installed from a dpkg package?

    A. dpkg -l pkgname

    B. dpkg -C pkgname

    C. dpkg -s pkgname

    D. dpkg -S pkgname

    E. dpkg -L pkgname

  • Question 10:

    Which of the following command line redirection characters instructs the shell to read from the current input source until a specific word, on a separate line and without and trailing spaces, is reached?

    A. <<

    B. <|

    C. !<

    D. and<<

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.