Linux MCQs with answers Page - 6

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

Q. Hidden files are

  • (A) Those whose ‘read’ bit is set to ‘h’
  • (B) Permitted for (can be accessed) only superusers
  • (C) Files that begin with a ‘.’
  • (D) Files that cannot be opened by ordinary user for writing

A

Admin • 833K Points
Coach

Q. Shell is ?

  • (A) Command Interpreter
  • (B) Interface between Kernel and Hardware
  • (C) Interface between user and applications
  • (D) Command Compiler

A

Admin • 833K Points
Coach

Q. Which command searches the string in file opened in vi editor?

  • (A) / or ?
  • (B) f or F
  • (C) t or T
  • (D) none of the mentioned

A

Admin • 833K Points
Coach

Q. Which command sets the number for all lines?

  • (A) :set li
  • (B) :set ln
  • (C) :set nu
  • (D) :set nl

A

Admin • 833K Points
Coach

Q. Which of the following is true?

  • (A) Shell is a process and can be started by superuser only
  • (B) Shell is a built-in Kernel functionality
  • (C) Shell is a wrapper for all the commands and utilities
  • (D) None of the mentioned

A

Admin • 833K Points
Coach

Q. The permission -rwxr–r– represented in octal expression will be

  • (A) 777
  • (B) 666
  • (C) 744
  • (D) 711

A

Admin • 833K Points
Coach

Q. Effective group id can be set using following permission

  • (A) 0777
  • (B) 2666
  • (C) 4744
  • (D) 1711

A

Admin • 833K Points
Coach

Q. The permission -rwSr–r– represented in octal expression will be

  • (A) 0777
  • (B) 2666
  • (C) 4744
  • (D) 4644

A

Admin • 833K Points
Coach

Q. Which command is used to assign read-write permission to the owner?

  • (A) chmod a+r file
  • (B) chmod o+r file
  • (C) chmod u=rw file
  • (D) chmod og-r file

A

Admin • 833K Points
Coach

Q. Which of the following umask settings doesn’t allow execute permission to be set by default on directory files

  • (A) 222
  • (B) 111
  • (C) 000
  • (D) 444

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