Linux MCQs with answers Page - 71

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 of the following would search the content of all man pages for the ls command?

  • (A) man –K ls
  • (B) man –f ls
  • (C) man –a ls
  • (D) man –k ls

A

Admin • 833.24K Points
Coach

Q. Which section of man page documents contains information on kernel errors?

  • (A) 1
  • (B) 2
  • (C) 5
  • (D) 8

A

Admin • 833.24K Points
Coach

Q. On a Debian system, which file contains the hostname of the local machine?

  • (A) /etc/HOSTNAME
  • (B) /etc/hostname
  • (C) /etc/HOSTS
  • (D) /etc/hosts

A

Admin • 833.24K Points
Coach

Q. Which file contains the name servers to be used by the local machine for hostname resolution?

  • (A) /etc/network/interfaces
  • (B) /etc/services/
  • (C) /etc/resolv.conf
  • (D) /etc/hosts

A

Admin • 833.24K Points
Coach

Q. Which of the following is a correct entry in the /etc/hosts file?

  • (A) 10.254.90.135 deedee.the-nashes.net
  • (B) search the-nashes.net
  • (C) nameserver 10.254.90.131
  • (D) deedee 10.254.90.135/ip

A

Admin • 833.24K Points
Coach

Q. Chat scripts are used to perform which of the following functions?

  • (A) Specify idle timeout of a PPP connection
  • (B) Establish a PPP connection
  • (C) Configure a PPP connection
  • (D) Specify connection device

A

Admin • 833.24K Points
Coach

Q. The pppd application must receive its IP address via DHCP.

  • (A) True
  • (B) False
  • (C) may be
  • (D) none of these

A

Admin • 833.24K Points
Coach

Q. Which of the following is NOT a valid option of the pppd command?

  • (A) holdoff
  • (B) disconnect
  • (C) connect
  • (D) reconnect

A

Admin • 833.24K Points
Coach

Q. Which of the following utilities is used to stop a network interface?

  • (A) stop
  • (B) down
  • (C) netstat
  • (D) ifconfig

A

Admin • 833.24K Points
Coach

Q. Which socket type is used in inetd.conf when the service uses TCP?

  • (A) rdm
  • (B) raw
  • (C) stream
  • (D) dgram

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