Linux MCQs with answers Page - 14

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 • 828.03K Points
Coach

Q. The location of some system configuration and system administrator executable files, is:

  • (A) /home
  • (B) /proc
  • (C) /var
  • (D) /sbin

A

Admin • 828.03K Points
Coach

Q. The location for subdirectories for local programs and executables for user and administrative commands, is:

  • (A) /usr
  • (B) /tmp
  • (C) /opt
  • (D) /mnt

A

Admin • 828.03K Points
Coach

Q. What command is used to assign executable permission to all of the files named "report"?

  • (A) chmod ugo + x report
  • (B) chmod u + x report
  • (C) chmod ugo + rw report
  • (D) chmod ugo + r report

A

Admin • 828.03K Points
Coach

Q. What command is used to change the working directory?

  • (A) cdir
  • (B) chdir
  • (C) changedir
  • (D) cd

A

Admin • 828.03K Points
Coach

Q. What command is used to count just the number of characters in a file?

  • (A) wc - r
  • (B) wc - w
  • (C) wc - c
  • (D) wc - 1

A

Admin • 828.03K Points
Coach

Q. What command can be used to get information about yourself?

  • (A) which
  • (B) pwd
  • (C) i /4
  • (D) who am i

A

Admin • 828.03K Points
Coach

Q. Which of the following subdirectory(ies) contains the device files?

  • (A) /dev
  • (B) /bin
  • (C) /etc
  • (D) /home

A

Admin • 828.03K Points
Coach

Q. Which of the following subdirectory(ies) contains the system
configuration scripts.

  • (A) /dev
  • (B) /bin
  • (C) /etc
  • (D) /home

A

Admin • 828.03K Points
Coach

Q. What of the following tool is used to check and repair Linux file systems?

  • (A) mkfs
  • (B) fdisk
  • (C) fsck
  • (D) mount

A

Admin • 828.03K Points
Coach

Q. Which of the following is the main Apache configuration file?

  • (A) httpd.conf
  • (B) apache.con
  • (C) /etc/profile
  • (D) system.ini

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