Top 150+ Solved Linux Programming MCQ Questions Answer
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
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
Q. ____ tool allows you to change your default X Window desktop.
a. Utilinux
b. Cempre
c. Switchdesk
d. Window
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
Q. Which program is used to schedule particular jobs or programs at particular times on thesystem?
a. vi
b. Outlook
c. Scheduler
d. cron
Q. The location of some system configuration and system administrator executable files, is:
a. /home
b. /proc
c. /var
d. /sbin
Q. The location for subdirectories for local programs and executables for user and administrative commands is:
a. /usr
b. /tmp
c. /opt
d. /mnt
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
Q. Which of the following tool is used to partition your hard drive?
a. mkfs
b. fdisk
c. fsck
d. mount
Q. Which of the following tool allows the user to change the default X Window desktop?
a. Switchdesk
b. Intrc
c. Xinitre
d. Xchange
Q. What command is used to halt a Linux system?
a. init 0
b. Shutdown –t
c. Shutdown -g -y0
d. Ctrl+Alt+Del