GkSeries.com

Linux Multiple Choice Questions(MCQs)& Answers

121 What does chmod +t do?
[A]wrong syntax
[B]set effective userid for filename
[C]set effective groupid for filename
[D]set the sticky bit
Answer: Option [D]
122 Which of the following umask settings doesn’t allow execute permission to be set by default on directory files
[A]222
[B]111
[C]000
[D]444
Answer: Option [C]
123 Which of the following umask settings allow execute permission to be set by default on regular files
[A]222
[B]111
[C]000
[D]None of the given choices
Answer: Option [D]
124 The command chmod 4777 a.out
[A]will set the suid bit of a.out
[B]will set the suid bit of a.out only if the command is issued by root
[C]is not a valid command
[D]will set the sticky bit of a.out
Answer: Option [A]
125 Which command is used to check filesystem usage in a system?
[A]mount
[B]df
[C]du
[D]dd
Answer: Option [B]
126 Which among the following allows fast file system recovery?
[A]Ext2
[B]Journaling
[C]Caching
[D]Sysfs

Answer: Option [B]
127 Which filesystem can be used to change certain kernel parameters at runtime using sysctl command?
[A]Ext3
[B]Sysfs
[C]Ext4
[D]Procfs

Answer: Option [D]
128 Filesystem for CDROM is:
[A]Ext2
[B]Ext3
[C]Isofs
[D]Procfs

Answer: Option [C]
129 Which file system has journaling capability?
[A]Ext2
[B]Ext4
[C]Isofs
[D]Procfs

Answer: Option [B]
130 Which file contains the filesystems to be automatically mounted during boot?
[A]/etc/mount
[B]/etc/fstab
[C]/etc/inittab
[D]/etc/boot

Answer: Option [B]
131 ____ is a directory (which should exist), on which to mount the file system?
[A]Root
[B]Boot
[C]Mount-point
[D]Partition

Answer: Option [C]
132 Which command is used to mount file system read only.
[A]mount –a
[B]mount –v
[C]mount –f
[D]mount –r

Answer: Option [D]
133 Which of the following is not a valid run-level
[A]5
[B]0
[C]8
[D]1

Answer: Option [C]
134 On Linux, initrd is a file
[A]containing root file-system required during bootup
[B]Contains only scripts to be executed during bootup
[C]Contains root-file system and drivers required to be preloaded during bootup
[D]None of the above

Answer: Option [C]
135 Which is loaded into memory when system is booted?
[A]Kernel
[B]Shell
[C]Commands
[D]Script

Answer: Option [A]
136 The process of starting up a computer is known as
[A]Boot Loading
[B]Boot Record
[C]Boot Strapping
[D]Booting

Answer: Option [C]
137 Bootstrapping is also known as
[A]Quick boot
[B]Cold boot
[C]Hot boot
[D]Fast boot

Answer: Option [B]
138 The shell used for Single user mode shell is:
[A]bash
[B]Csh
[C]ksh
[D]sh

Answer: Option [D]
139 Single user mode shell runs as
[A]Admin user
[B]Root user
[C]normal user
[D]Log user

Answer: Option [B]
140 Which is the only partition mounted in Single user mode
[A]boot
[B]usr
[C]root
[D]tmp

Answer: Option [D]