Linux MCQs with answers Page - 11

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 with vi editor to delete a single character?

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

A

Admin • 828.03K Points
Coach

Q. What hardware architectures are not supported by Red Hat?

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

A

Admin • 828.03K Points
Coach

Q. How can you add Amit, a new user, to your system?

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

A

Admin • 828.03K Points
Coach

Q. How could you install the file ipchains-1.3.9-5.i386.rpm?

  • (A) rpm -qip ipchains
  • (B) rpm -Uvh ipchains
  • (C) rpm -i ipchains* .i386.rpm
  • (D) rpm -e ipchains-1.3.9-5.i386.rpm

A

Admin • 828.03K Points
Coach

Q. What does FSF stand for?

  • (A) Free Software File
  • (B) File Server First
  • (C) First Serve First
  • (D) Free Software Foundation

A

Admin • 828.03K Points
Coach

Q. What command do you use to create Linux file systems?

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

A

Admin • 828.03K Points
Coach

Q. Which of the following command can you execute to count the number of lines in a file?

  • (A) lc
  • (B) wc - l
  • (C) cl
  • (D) count

A

Admin • 828.03K Points
Coach

Q. What command is used to display the characteristics of a process?

  • (A) au
  • (B) ps
  • (C) du
  • (D) pid

A

Admin • 828.03K Points
Coach

Q. What command is used to list only the files chap0l, chap02 and chap04?

  • (A) ls chap*
  • (B) ls chap[124]
  • (C) ls - x chap0[124]
  • (D) ls chap0[124]

A

Admin • 828.03K Points
Coach

Q. What command is used to sort the lines of data in a file in alphabetical order?

  • (A) sort - r
  • (B) st
  • (C) sh
  • (D) sort

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