Linux MCQs with answers Page - 67

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. You have recently installed a new disk drive in your Linux system. You wish to store a directory containing many data files used within your company on the new disk drive. Which of the following can be used so the change is invisible to users of the system?

  • (A) soft links
  • (B) hard links
  • (C) mv
  • (D) cp

A

Admin • 833.24K Points
Coach

Q. Which command and options are used to delete a user’s account and home directory?

  • (A) usermod -e
  • (B) passwd -e
  • (C) usermod -f
  • (D) userdel -r

A

Admin • 833.24K Points
Coach

Q. What command can be used to locate specific text within a file?

  • (A) where
  • (B) find
  • (C) locate
  • (D) grep

A

Admin • 833.24K Points
Coach

Q. Which of the following can be used to suspend a process running in the foreground?

  • (A) Ctrl+Z
  • (B) bg
  • (C) fg
  • (D) &

A

Admin • 833.24K Points
Coach

Q. Where might you find instructions on installing and configuring a Winmodem on a Linux system?

  • (A) dmesg
  • (B) /usr/doc
  • (C) HOWTOs
  • (D) man pages

A

Admin • 833.24K Points
Coach

Q. Which of the following would be used to run a script called mozilla_update as a background process?

  • (A) mozilla_process -bg
  • (B) `mozilla_process`
  • (C) mozilla_update&
  • (D) bg mozilla_update

A

Admin • 833.24K Points
Coach

Q. Which environment variable would be used to specify the location of files that you wish to run without specifying an absolute path?

  • (A) TERM
  • (B) PATH
  • (C) PS1
  • (D) HOME

A

Admin • 833.24K Points
Coach

Q. When booting your system you notice that your sound module failed to load; however, the error message scrolled by too quickly. What command can you use to view the errors?

  • (A) lilo
  • (B) errors
  • (C) messages
  • (D) dmesg

A

Admin • 833.24K Points
Coach

Q. What command is used to create a new archived file using compression?

  • (A) bzip2 -tbz
  • (B) compress -tf
  • (C) tar -cfz
  • (D) gzip -t

A

Admin • 833.24K Points
Coach

Q. Which command is used to view processes running in the background?

  • (A) jobs
  • (B) bg
  • (C) ls
  • (D) dmesg

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