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
    :Mar 26, 2025

CompTIA CompTIA Linux+ LX0-101 Questions & Answers

  • Question 21:

    An administrator is experimenting with a binary in /tmp/foo.d that expects its configuration file at /etc/foo.conf. The administrator does not want to save it there, but use a symbolic link to /tmp/foo.d/foo.conf instead. Which of the following commands would accomplish this?

    A. ln -s /tmp/foo.d/foo.conf /etc/foo.conf

    B. ln /tmp/foo.d/foo.conf /etc/foo.conf

    C. ln -s /etc/foo.conf /tmp/foo.d/foo.conf

    D. ln /etc/foo.conf /tmp/foo.d/foo.conf

  • Question 22:

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

    Which of the following commands can be used to instruct the init process to switch runlevels? (Select TWO).

    A. telinit

    B. initctl

    C. init

    D. reinit

    E. runlevel

  • Question 24:

    Which of the following commands will show the contents of a gzip compressed tar archive?

    A. gzip archive.tgz | tar xvf

    B. tar ztf archive.tgz

    C. gzip -d archive.tgz | tar tvf

    D. tar cf archive.tgz

  • Question 25:

    How can an administrator update a package only if an earlier version is currently installed on the system?

    A. rpm --update rpmname

    B. rpm -U rpmname

    C. rpm -F rpmname

    D. rpm --force rpmname

    E. rpm -u rpmname

  • Question 26:

    Which of the following does the command mount -a do?

    A. It mounts the floppy disk for all users.

    B. It shows all mounted file systems.

    C. It opens /etc/fstab to edit.

    D. It mounts all file systems listed in /etc/fstab.

  • Question 27:

    The system is having trouble and the engineer wants to bypass the usual /sbin/init start up and run /bin/sh. Which of the following is the usual way to pass this change to the kernel from the boot loader?

    A. Start in runlevel 1.

    B. Pass init=/bin/sh on the kernel parameter line.

    C. Pass /bin/sh on the kernel parameter line.

    D. Pass start=/bin/sh on the kernel parameter line.

  • Question 28:

    To ensure that a running process continue to execute after you log out, the process should be started with which of the following commands?

    A. nohup

    B. fg

    C. live

    D. sh

  • Question 29:

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

    Which of the following keys should an administrator press to switch to normal mode in vi?

    A. Alt

    B. Esc

    C. Ctrl

    D. Shift

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.