Linux MCQs with answers Page - 7

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. Write the command to display the current date in the form dd/mm/yyyy.

  • (A) date +%d/%m/%Y
  • (B) date +”%d/%m/%Y”
  • (C) date +/%d/%m/20%y
  • (D) date +”/%d/%m/20%y”

A

Admin • 828.03K Points
Coach

Q. How to execute ls command inside a vi editor?

  • (A) !ls
  • (B) :ls
  • (C) :!ls
  • (D) we can’t execute

A

Admin • 828.03K Points
Coach

Q. What communication command provides communication to another user logged on by writing to the bottom of their terminal?

  • (A) talk
  • (B) write
  • (C) chat
  • (D) tr

A

Admin • 828.03K Points
Coach

Q. Which of the following command output contains userid?

  • (A) ls
  • (B) help
  • (C) date
  • (D) ls –l

A

Admin • 828.03K Points
Coach

Q. pwd command displays

  • (A) user password
  • (B) password file content
  • (C) present working directory
  • (D) none of the mentioned

A

Admin • 828.03K Points
Coach

Q. What is the default number of files open per user process?

  • (A) 0
  • (B) 1
  • (C) 2
  • (D) 3

A

Admin • 828.03K Points
Coach

Q. Which character is used to redirect output in to an existing file in Linux?

  • (A) >
  • (B) >>
  • (C) <<
  • (D) <

A

Admin • 828.03K Points
Coach

Q. Which character is used to represent a range of values in Linux?

  • (A) ( )
  • (B) [ ]
  • (C) <>
  • (D) { }

A

Admin • 828.03K Points
Coach

Q. Which character redirects the output of one command to another in Linux?

  • (A) . dot
  • (B) | pipe
  • (C) : colon
  • (D) ; semicolon

A

Admin • 828.03K Points
Coach

Q. Which Linux command list the content of all sub directory?

  • (A) ls ~
  • (B) ls * /
  • (C) ls /
  • (D) ls ../

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