CompTIA LX0-101 - Linux Part 1 Exam

Page:    1 / 24   
Total 119 questions

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.



Answer : /TMP,TMP

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?

  • A. nouidchk
  • B. alluser
  • C. user
  • D. auto


Answer : C

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

  • A. esc ZZ
  • B. ctrl :w!
  • C. esc zz
  • D. esc :wq!
  • E. ctrl XX


Answer : A,D

Which of the following commands will print a list of usernames (first column) and their 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

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?

  • A. LD_LOAD_PATH
  • B. LD_LIB_PATH
  • C. LD_LIBRARY_PATH
  • D. LD_SHARE_PATH
  • E. LD_RUN_PATH


Answer : C

Page:    1 / 24   
Total 119 questions