Linux MCQs with answers Page - 69

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. How many primary and extended partitions are allowed on a hard disk?

  • (A) 1
  • (B) 2
  • (C) 3
  • (D) 4

A

Admin • 833.24K Points
Coach

Q. How many primary partitions are allowed on a hard disk?

  • (A) 1
  • (B) 2
  • (C) 3
  • (D) 4

A

Admin • 833.24K Points
Coach

Q. Which of the following shows the use of an absolute path?

  • (A) /bin/ls
  • (B) ls /home/angie
  • (C) ls –al
  • (D) ls

A

Admin • 833.24K Points
Coach

Q. Which of the following commands will create a new file with the name ourgroup?

  • (A) mkfile ourgroup
  • (B) ls ourgroup
  • (C) touch ourgroup
  • (D) file ourgroup

A

Admin • 833.24K Points
Coach

Q. Which command is used to rename the ourgroup file to mygroup?

  • (A) mv mygroup ourgroup
  • (B) mv ourgroup mygroup
  • (C) rn mygroup ourgroup
  • (D) rn ourgroup mygroup

A

Admin • 833.24K Points
Coach

Q. Which directory contains the system kernel?

  • (A) /proc
  • (B) /boot
  • (C) /
  • (D) /etc

A

Admin • 833.24K Points
Coach

Q. Which directory contains the system configuration files?

  • (A) /proc
  • (B) /boot
  • (C) /
  • (D) /etc

A

Admin • 833.24K Points
Coach

Q. Which directory contains the root user’s home directory?

  • (A) /usr
  • (B) /sbin
  • (C) /root
  • (D) /home

A

Admin • 833.24K Points
Coach

Q. Which directory contains the mail files?

  • (A) /usr/mail
  • (B) /var/mail
  • (C) /var/spool
  • (D) /proc/mail

A

Admin • 833.24K Points
Coach

Q. Which utility is used to update the slocate database?

  • (A) updatedb
  • (B) whereis
  • (C) find
  • (D) locate

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