Linux MCQs with answers Page - 15

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. What command is used to display and create files?

  • (A) lyrix
  • (B) ed
  • (C) vi
  • (D) cat

A

Admin • 828.03K Points
Coach

Q. Which of the following command is used to count the total number of lines, words, and characters contained in a file?

  • (A) wc
  • (B) wcount
  • (C) countw
  • (D) None of the above

A

Admin • 828.03K Points
Coach

Q. Identify the command which is used to remove files.

  • (A) delete
  • (B) rm
  • (C) dm
  • (D) erase

A

Admin • 828.03K Points
Coach

Q. Identify the hardware structure which is not supported by Red Hat?

  • (A) IBM-compatible
  • (B) Alpha
  • (C) SPARC
  • (D) Macintosh

A

Admin • 828.03K Points
Coach

Q. Among the following command which is used with vi editors to delete a single character?

  • (A) a
  • (B) x
  • (C) y
  • (D) z

A

Admin • 828.03K Points
Coach

Q. The dmesg command

  • (A) Shows user login logoff attempts
  • (B) Shows the syslog file for info messages
  • (C) kernel log messages
  • (D) Shows the daemon log messages

A

Admin • 828.03K Points
Coach

Q. The command “mknod myfifo b 4 16”

  • (A) Will create a block device if user is root
  • (B) Will create a block device for all users
  • (C) Will create a FIFO if user is not root
  • (D) None of the mentioned

A

Admin • 828.03K Points
Coach

Q. Choose the TCP/IP Protocol which is used for remote terminal connection service?

  • (A) FTP
  • (B) UDP
  • (C) RARP
  • (D) TELNET

A

Admin • 828.03K Points
Coach

Q. Identify the service which is used to translate a domain name to IP address.

  • (A) NIS
  • (B) DNS
  • (C) SMB
  • (D) NFS

A

Admin • 828.03K Points
Coach

Q. Which of the following command is used to add a new user to the system?

  • (A) Using Linuxconf
  • (B) Using adduser
  • (C) Using useradd
  • (D) All of the above

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