LPI Certification / CompTIA Linux+ Practice Test - Question List

Select how would you like to study

101. Which of the following log files contains a list of failed login attempts?
  1. /var/log/last
  2. /var/log/wtmp
  3. /var/log/login
  4. /var/log/faillog
102. Which of the following commands should you use to put a system into the Hibernation mode?
  1. acpitool -S
  2. acpitool -H
  3. acpitool -s
  4. acpitool -S4
103. You need to get specific information about the IDE hard drive in your system. Which of the following commands should you use from the shell prompt?
  1. hddump
  2. hdparm
  3. lsusb
  4. sg_scan
104. Which of the following should you include at the beginning of every shell script?
  1. #Comment
  2. exit 0
  3. #begin script
  4. #!/bin/bash
105. Which of the following processes is the grandparent of all processes on a Linux system?
  1. init
  2. sh
  3. bash
  4. ps

Select how would you like to study