Pass4itsure > CompTIA > CompTIA Linux+ > LX0-101 > LX0-101 Online Practice Questions and Answers

LX0-101 Online Practice Questions and Answers

Questions 4

What command with all options and/or parameters will send the signal USR1 to any executing process of program apache2?

Buy Now
Questions 5

The /etc/ file lists currently mounted devices.

Buy Now
Questions 6

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).

Buy Now
Questions 7

All of the following commands will update the Modify timestamp on the file /tmp/myfile.txt EXCEPT:

A. file /tmp/myfile.txt

B. echo "Hello" >/tmp/myfile.txt

C. sed -ie "s/1/2/" /tmp/myfile.txt

D. echo -n "Hello" >/tmp/myfile.txt

E. touch /tmp/myfile.txt

Buy Now
Questions 8

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

Buy Now
Questions 9

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

Buy Now
Questions 10

Which of the following directories contains additional information about installed packages?

A. /usr/share/documentation

B. /usr/local/share/documentation

C. /usr/local/doc

D. /usr/share/doc

E. /usr/packages/doc

Buy Now
Questions 11

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!

Buy Now
Questions 12

In GRUB's configuration file an administrator finds the following line: root (hd1,4) Which of the following is the corresponding device name on a Linux system?

A. /dev/hda4

B. /dev/hda5

C. /dev/hdb4

D. /dev/hdb5

Buy Now
Questions 13

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

Buy Now
Exam Code: LX0-101
Exam Name: CompTIA Linux+ [Powered by LPI] Exam 1
Last Update: Jun 02, 2026
Questions: 124
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99