Linux MCQs with answers Page - 59

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. Which linking method creates smaller executable files?

  • (A) Static
  • (B) Variable
  • (C) Unlinked
  • (D) Dynamic

A

Admin • 833.24K Points
Coach

Q. Which command(s) is/are used to remove an RPM package?
A. rpm –uninstall
B. rpm –remove
C. rpm -e
D. rpm -u

  • (A) A and B
  • (B) A and C
  • (C) A, C and D
  • (D) A, B, C and D

A

Admin • 833.24K Points
Coach

Q. Which file specifies how an RPM source package is compiled?

  • (A) .conf file
  • (B) config file
  • (C) spec file
  • (D) Makefile

A

Admin • 833.24K Points
Coach

Q. Which tool is used to convert packages from one system to another?

  • (A) Pconvert
  • (B) apt
  • (C) dpkg
  • (D) alien

A

Admin • 833.24K Points
Coach

Q. Which command is used to install a Debian package?

  • (A) rpm -i
  • (B) apt-get -I
  • (C) dpkg –install
  • (D) apt –instal

A

Admin • 833.24K Points
Coach

Q. Which command removes a Debian package, including its configuration files?

  • (A) dpkg -P
  • (B) apt-get purge
  • (C) dpkg -e
  • (D) dpkg –remove

A

Admin • 833.24K Points
Coach

Q. Which tool provides an easy-to-use interface to access Debian package management?

  • (A) gnorpm
  • (B) dpkg
  • (C) apt-get
  • (D) dselect

A

Admin • 833.24K Points
Coach

Q. To change the sources for apt-get, the ________ file is edited.

  • (A) dpkg.sources
  • (B) sources.apt
  • (C) apt.sources
  • (D) sources.list

A

Admin • 833.24K Points
Coach

Q. Which apt-get parameter updates the available package database?

  • (A) update
  • (B) reload
  • (C) refresh
  • (D) upgrade

A

Admin • 833.24K Points
Coach

Q. The apt-get tool supports which of the following sources?
A. FTP
B. HTTP
C. NFS
D. CD-ROM

  • (A) A and B
  • (B) A and C
  • (C) A, C and D
  • (D) A, B, C and D