Linux MCQs with answers Page - 42

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. The top-level directory on a linux system is represented as ....................

  • (A) /
  • (B) $
  • (C) *
  • (D) #

A

Admin • 833.24K Points
Coach

Q. Which of the following commands is used to summarize the disk usage?

  • (A) disk
  • (B) fdisk
  • (C) du
  • (D) chkdsk

A

Admin • 833.24K Points
Coach

Q. Which of the following commands is used to copy directory structures in and out?

  • (A) cp
  • (B) cp-p
  • (C) cpio
  • (D) copy

A

Admin • 833.24K Points
Coach

Q. Which of the following commands is used to change the working directory?

  • (A) cdir
  • (B) changedir
  • (C) chdir
  • (D) cd

A

Admin • 833.24K Points
Coach

Q. Which of the following commands is used to count the total number of line, words and characters contained in a file?

  • (A) countw
  • (B) wc
  • (C) wcount
  • (D) count p

A

Admin • 833.24K Points
Coach

Q. Which of the following commands is used to list contents of directories?

  • (A) tar
  • (B) 1p
  • (C) dir
  • (D) 1s

A

Admin • 833.24K Points
Coach

Q. Which of the following commands is used to list remove files?

  • (A) dm
  • (B) delete
  • (C) rm
  • (D) erase

A

Admin • 833.24K Points
Coach

Q. Which of the following commands is used to count just the number of lines contained in a file?

  • (A) wc - r
  • (B) wc - c
  • (C) wc - w
  • (D) wc – 1

A

Admin • 833.24K Points
Coach

Q. Which of the following directories contain all the files created by a user, including his login directory?

  • (A) /dev
  • (B) /etc
  • (C) /usr
  • (D) /tmp

A

Admin • 833.24K Points
Coach

Q. Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory?

  • (A) copywb collect mon /mis
  • (B) cpwb collect mon ../misc
  • (C) copywb ../misccollect ../mismon ../misc
  • (D) tarwb collect mon /misc

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