CompTIA LX0-101 - Linux Part 1 Exam
Page: 1 / 24
Total 119 questions
Question #1 (Topic: Topic 1)
To prevent users from being able to fill up the / partition, the ____________ directory
should be on a separate partition if possible because it is world writeable.
should be on a separate partition if possible because it is world writeable.
Answer: /TMP,TMP
Question #2 (Topic: Topic 1)
To allow a regular user account to mount and unmount a filesystem (for instance, a cdrom
or floppy), which of the following options will need to be added to the corresponding line in
/etc/fstab?
or floppy), which of the following options will need to be added to the corresponding line in
/etc/fstab?
A. nouidchk
B. alluser
C. user
D. auto
Answer: C
Question #3 (Topic: Topic 1)
An administrator is writing text in vi. Now the administrator wants to save their changes and
exit. Which of the following sequence of inputs will accomplish this? (Select TWO).
exit. Which of the following sequence of inputs will accomplish this? (Select TWO).
A. esc ZZ
B. ctrl :w!
C. esc zz
D. esc :wq!
E. ctrl XX
Answer: A,D
Question #4 (Topic: Topic 1)
Which of the following commands will print a list of usernames (first column) and their
corresponding user id (uid, third column) from /etc/passwd?
corresponding user id (uid, third column) from /etc/passwd?
A. cut -d: -f1,3 /etc/passwd
B. chop -c 1,3 /etc/passwd
C. tac 1-3 /etc/passwd
D. fmt -u /etc/passwd
Answer: A
Question #5 (Topic: Topic 1)
To what environment variable will an administrator assign or append a value if the
administrator needs to tell the dynamic linker to look in a build directory for some of a
program's shared libraries?
administrator needs to tell the dynamic linker to look in a build directory for some of a
program's shared libraries?
A. LD_LOAD_PATH
B. LD_LIB_PATH
C. LD_LIBRARY_PATH
D. LD_SHARE_PATH
E. LD_RUN_PATH
Answer: C