Linux MCQs with answers Page - 74

Here, you will find a collection of MCQ questions on Linux. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 833.24K Points
Coach

Q. Which entry in lilo.conf restricts the user from adding boot parameters without a password?

  • (A) password
  • (B) noparams
  • (C) restricted
  • (D) lock

A

Admin • 833.24K Points
Coach

Q. If Linux is the only operating system on your computer, where should you tell LILO to place the boot information?

  • (A) BIOS
  • (B) Floppy disk
  • (C) Partition boot block
  • (D) MBR

A

Admin • 833.24K Points
Coach

Q. Which boot parameter would you use to have a different root file system mounted?

  • (A) root=/dev/hda
  • (B) root=/dev/hda1
  • (C) root=/dev/hda1 /
  • (D) root=/mnt/

A

Admin • 833.24K Points
Coach

Q. Which lilo.conf entry gives a boot image a second name?

  • (A) tag
  • (B) name
  • (C) label
  • (D) alias

A

Admin • 833.24K Points
Coach

Q. Which command will change a Red Hat system to GUI login mode?

  • (A) telinit 5
  • (B) init 3
  • (C) runlevel 5
  • (D) startx

A

Admin • 833.24K Points
Coach

Q. Which line in inittab would you change to change the runlevel that the system boots up to?

  • (A) initdefault
  • (B) runlevel
  • (C) defrunlevel
  • (D) defaultinit

A

Admin • 833.24K Points
Coach

Q. Which command would list the runlevel information about the inetd service?

  • (A) ls -l /etc/rc.d/init.d/inet
  • (B) /etc/rc.d/init.d/inet status
  • (C) ntsysv –list inet
  • (D) chkconfig –list inet

A

Admin • 833.24K Points
Coach

Q. Which command would you use in a troubleshooting configuration if the old root volume is mounted under /mnt/root?

  • (A) lilo -p /mnt/root/boot
  • (B) lilo -r /mnt/root
  • (C) lilo -r /mnt/root/boot
  • (D) lilo -p /mnt/root

A

Admin • 833.24K Points
Coach

Q. To create a boot disk on the second floppy drive without prompting the user, you would use which command?

  • (A) mkboot –device /dev/fd0
  • (B) mkbootdsk –device /dev/fd0
  • (C) mkboot –device /dev/fd1 –noprompt
  • (D) mkbootdsk –device /dev/fd1 –noprompt

A

Admin • 833.24K Points
Coach

Q. The lilo.conf entry _________ is used to enable booting from disks with more than 1024 cylinders.

  • (A) linear
  • (B) bigdisk
  • (C) lba32
  • (D) lba

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ