Top 150+ Solved Linux Programming MCQ Questions Answer

From 16 to 30 of 196

Q. What command is used to query for a specific package with RPM?

a. rpm –q

b. rpm –a

c. rpm –d

d. rpm –l

  • a. rpm –q

Q. What script is run for setting bash global defaults for all users?

a. /etc/.profile

b. /etc/.bashrc

c. /etc/.log

d. /etc/profile

  • d. /etc/profile

Q. Who founded the Linux Kernel?

a. Bill Gates

b. Ben Thomas

c. Richard Stallman

d. Linus Torvalds

  • d. Linus Torvalds

Q. ____ tool allows you to change your default X Window desktop.

a. Utilinux

b. Cempre

c. Switchdesk

d. Window

  • c. Switchdesk

Q. In what file can you specify which users are not allowed to access a system via FTP?

a. /etc/ftpusers

b. /etc/hosts.deny

c. /etc/ftpaccess

d. All of the above

  • a. /etc/ftpusers

Q. Which command can force all buffers to disk?

a. save

b. sync

c. edbuff

d. flush

  • b. sync

Q. LILO

a. stands for Linux loader

b. is the Linux boot loader

c. is a tool used to boot the Kernel on x86 hardware

d. All of the above

  • d. All of the above

Q. Which of the following tool is used to partition your hard drive?

a. mkfs

b. fdisk

c. fsck

d. mount

  • b. fdisk

Q. What command can be used to get information about yourself?

a. which

b. pwd

c. i/4

d. who am i

  • d. who am i

Q. Which of the following tool allows the user to change the default X Window desktop?

a. Switchdesk

b. Intrc

c. Xinitre

d. Xchange

  • a. Switchdesk

Q. What command is used to halt a Linux system?

a. init 0

b. Shutdown –t

c. Shutdown -g -y0

d. Ctrl+Alt+Del

  • a. init 0
Subscribe Now

Get All Updates & News