LPI Certification / CompTIA Linux+ Practice Test - Question List

Select how would you like to study

76. Which of the following commands should be used to switch to the root user account and load root’s environment variables?
  1. su root
  2. su root -e
  3. su -
  4. su -env
77. You are installing Linux on a system. The Linux installation process continuously locks up. Which of the following should you do first?
  1. Repartition the drive
  2. Enable power management in the BIOS
  3. Remove all unnecessary hardware
  4. Ensure that the network card is installed prior to the installation
78. Which of the following commands should you use if you need to view the first few lines of the /var/log/boot.msg file?
  1. tail /var/log/messages
  2. grep -l 10 /var/log/boot.msg
  3. head /var/log/messages
  4. cat /var/log/boot.msg
79. Which of the following commands will load the updatedb process and leave it running even if the user logs out of the shell?
  1. updatedb
  2. nohup udatedb &
  3. updatedb &
  4. updatedb -nohup
80. Which of the following commands should you use at the shell prompt to initially build Tripwire’s database of critical system files?
  1. tripwire -init
  2. twinstall.sh
  3. tripwire-check
  4. twprint -mr

Select how would you like to study