LPI Certification / CompTIA Linux+ Practice Test - Question List

Select how would you like to study

41. You want to configure your X Windows System to display your graphical desktop on a remote Linux system. Which of the following environment variables should you modify?
  1. DISPLAY
  2. ENV
  3. XWIN
  4. DESKTOP
42. Which of the following must be included at the beginning of every shell script?
  1. #Comment
  2. exit 0
  3. #!/bin/bash
  4. #begin script
43. Which of the following is the role of the BIOS during a system boot?
  1. Creating an initrd image in a ramdisk
  2. Providing a menu that chooses which operating system to boot
  3. Locating a bootable storage device
  4. Pointing to the operating system kernel
44. Which of the following shell commands should you use if you want to install GRUB into the first partition on your first SCSI hard disk drive?
  1. grub /dev/sda1
  2. grub-install /dev/sda
  3. grub-install /dev/sda1
  4. grub /dev/hda1
45. Which of the following should you do after you have finished making changes to the /etc/lilo.conf file?
  1. Run lilo from the shell prompt
  2. Reboot the system
  3. Change to runlevel 3
  4. Restart the lilo service

Select how would you like to study