Linux MCQs with answers Page - 85

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. su command stand for ________

  • (A) substitute user
  • (B) successive user
  • (C) side user
  • (D) secondary user

A

Admin • 833.24K Points
Coach

Q. Which command is used to display uid or gid?

  • (A) pwd command
  • (B) uid command
  • (C) gid command
  • (D) id command

A

Admin • 833.24K Points
Coach

Q. Which command is used to create password of your linux system?

  • (A) gid command
  • (B) uid command
  • (C) passwd command
  • (D) pwd command

A

Admin • 833.24K Points
Coach

Q. Which command is used to add new user in linux system?

  • (A) uniq command
  • (B) useradd command
  • (C) usergrp command
  • (D) tr command

A

Admin • 833.24K Points
Coach

Q. Which command is used to display first 10 lines?

  • (A) gp command
  • (B) head command
  • (C) hd command
  • (D) grep command

A

Admin • 833.24K Points
Coach

Q. To extract specific columns from a file, ____ command is used.

  • (A) rm command
  • (B) ext command
  • (C) grep command
  • (D) cut command

A

Admin • 833.24K Points
Coach

Q. grep command stands for __________

  • (A) global regular expression print
  • (B) guest regular expression print
  • (C) global resolution expression print
  • (D) guest random expression print

A

Admin • 833.24K Points
Coach

Q. Which command is used to display the octal value of the text?

  • (A) oct -8 command
  • (B) oct command
  • (C) od command
  • (D) oc command

A

Admin • 833.24K Points
Coach

Q. Which linux command can be used to display the name of the current working directory?

  • (A) pwd command
  • (B) dir command
  • (C) mkdir command
  • (D) rmdir command

A

Admin • 833.24K Points
Coach

Q. Which command is used to create a directory in linux?

  • (A) touch command
  • (B) rmdir command
  • (C) dir command
  • (D) mkdir command