Linux MCQs with answers Page - 55

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. What is not a correct format for entering commands at the command line?

  • (A) command options arguments
  • (B) command arguments options
  • (C) command options
  • (D) command

A

Admin • 833.24K Points
Coach

Q. Which key combination is used to allow a command to span multiple lines?

  • (A) Tab-Enter
  • (B) / Enter
  • (C) Enter
  • (D) “”

A

Admin • 833.24K Points
Coach

Q. Which key, when pressed once, is used to provide command completion at the command line?

  • (A) Ctrl
  • (B) Enter
  • (C) Esc
  • (D) Tab

A

Admin • 833.24K Points
Coach

Q. Which key, when pressed twice, is used to provide command completion at the command line?

  • (A) Ctrl
  • (B) Enter
  • (C) Esc
  • (D) Tab

A

Admin • 833.24K Points
Coach

Q. The Readline Library uses which editor to provide command-line editing?

  • (A) edit
  • (B) emacs
  • (C) vi
  • (D) pico

A

Admin • 833.24K Points
Coach

Q. Keyboard bindings can be viewed using which command?

  • (A) display -v
  • (B) display -keys
  • (C) bind -v
  • (D) bind -keys

A

Admin • 833.24K Points
Coach

Q. Which file contains the system-wide variables on a system with a bash shell?

  • (A) /etc/profile
  • (B) /etc/bash
  • (C) /bin/bash
  • (D) /bash

A

Admin • 833.24K Points
Coach

Q. When making changes to an environment variable what command must you use to ensure that those changes are available to the shell?

  • (A) echo
  • (B) export
  • (C) remember
  • (D) save

A

Admin • 833.24K Points
Coach

Q. Which environment variable is used to customize the shell prompt?

  • (A) display
  • (B) shell
  • (C) prompt
  • (D) PS1

A

Admin • 833.24K Points
Coach

Q. Which file contains the assignment of user’s home directories?

  • (A) /etc/users
  • (B) /etc/passwd
  • (C) /etc/profile
  • (D) /etc/home

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