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

    In bash, inserting 1>and2 after a command redirects:

    A. standard error to standard input.

    B. standard input to standard error.

    C. standard output to standard error.

    D. standard error to standard output.

    E. standard output to standard input.

  • Question 12:

    Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsfile only to receive the error, "No such file or directory." . Which of the following commands will remove the directory?

    A. rmdir '~bob/\bobsdir'

    B. rmdir "~bob/\bobsdir"

    C. rmdir ~bob/'bobsdir'

    D. rmdir ~bob/\bobsdir

    E. rmdir ~bob/\\bobsdir

  • Question 13:

    Which of the following commands will print the inode usage on each mounted filesystem?

    A. du -i

    B. df -i

    C. lsfs -i

    D. printfs -i

  • Question 14:

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

    An administrator is having some trouble with a disk partition and needs to do maintenance on this partition. The administrator's users home directories are on it and several are logged in. Which of the following commands would disconnect the users and allow the administrator to safely execute maintenance tasks?

    A. telinit 1

    B. shutdown -r now

    C. killall -9 inetd

    D. /bin/netstop --maint

    E. /etc/rc.d/init.d/network stop

  • Question 16:

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

    Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?

    A. cat < myapp | cat > file1.log

    B. myapp 0>and1 | cat > file1.log

    C. myapp | cat > file1.log

    D. myapp | tee file1.log

    E. tee myapp file1.log

  • Question 18:

    An administrator has read/write permissions on an ordinary file foo. The administrator has just run ln foo bar. Which of the following would occur if the administrator ran rm foo?

    A. foo and bar would both be removed.

    B. foo would be removed while bar would remain accessible.

    C. foo would be removed. bar would still exist but would be unusable.

    D. Both foo and bar would remain accessible.

    E. The administrator would be asked whether bar should be removed.

  • Question 19:

    Which of the following commands is run LAST during boot on a system with quotas enabled?

    A. fsck

    B. mount

    C. quotacheck

    D. quotaon

  • Question 20:

    The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. Which of the following does this indicate?

    A. The kernel was unable to execute /bin/init

    B. The next Stage cannot be read from the hard disk because GRUB was unable to determine the size and geometry of the disk

    C. One or more of the filesystems on the hard disk has errors and a filesystem check should be run

    D. The BIOS was unable to read the necessary data from the Master Boot Record to begin the boot process

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.