1. Where do the manual (man) pages for all commands reside in the File System Hierarchy (FSH)?
2. Which (free) linux distro is derived from RHEL
3. Which is not a valid priority in syslogd.conf?
4. To configure networking via a console GUI you can use:
5. How to show currently loaded kernel modules?
6. To find the version of redhat in use you can:
7. Which statements are true about a source RPM?
8. How would you create a disk dump in RedHat Linux?
9. what does the following command do? 'watch -n 1 du -hs /tmp/file'
10. What does the 'tcpdump' command do?
11. Using cat command, which option is used to print the line number?
12. How to find out memory usage:
13. To verify what state (run level) you are currently running in, you use:
14. You use samba to:
15. What is pNFS means?
16. The following entry appears in the /etc/crontab as follows: 30 4 * * 1 /bin/sh /home/Tom/rmcore 2>&1 /dev/null
17. Using scp to copy a file 'test_file' from your machine to the remote machine 'test_machine' to the /tmp directory, using the account 'test_user' on the remote machine, you do:
18. How would you find out the dependencies of RPM package?
19. To power down the system, you use:
20. Larry, working as root, needs to change the ownership of the file 'myfile' from 'james' to 'mary.' He should:
21. Which Standard does pNFS Stands for..
22. If you set your /etc/inittab file to have the default init entry to be 'init:3:default:', then your system default runlevel is:
23. What is the tee command?
24. 'xhost +' is a security problem because:
25. You configure an OpenSSH server in the file:
26. Which mode provides load balancing and fault tolerance in ethernet bonding ?
27. The user smith issued the egrep '^[[: upper:]]' words.txt command. What does this command do?
28. What is the purpose of the file /etc/updatedb.conf?
29. Identify the true statement about configure script.
30. If umask is 0022, what is the by default permission of a file?
31. For all filesystems listed in /etc/mtab, to display the total space allowed for a user or group, you use the command:
32. Which of the following are valid iptable chains?
33. Which command is used to kill a process gracefully?
34. Which of the following options is true of the entry below? /dev/cdrom /cd iso9660 ro,user,noauto 0 0
35. What command will free the page cache?
36. What is the default maximum number of open files a user can have by default?
37. You use the SUSPEND character to suspend an already running process. Which signal does it send to the process?
38. System-wide values used by user and group creation utilities such as useradd and usergroup are kept in the file:
39. When mounting a volume listed in 'fstab',
40. What file is used for 'HOSTNAME' configuration?
41. How to find out what packages are currently installed?
42. Which statement is true about the files and directories created inside the /project directory that have 2777 permissions?
43. The /projects directory is being shared by server1 with the share name datashare through samba. To access the shared directory as bob you issue the following command: smbclient //server1/datashare -U 'bob%foouser' What happens when you execute the command?
44. Which service lets you edit qcow2 images in Linux ?
45. The line '0 2 * * 1-5 tar cf /home/backp /home/projects' in a crontab will:
46. Which kernel parameter is used to reset root password in RHEL7
47. To change the system runlevels, you use:
48. How to kill user session?
49. What file will show you with what options kernel was started?
50. If you use 'shutdown now', it will:
51. To have 'grep' match only whole lines, you use:
52. If you are logged in to a regular user account, and it is necessary for you to log in as root and become a superuser, which should you use?
53. Which of the following is the most correct way to edit the current users crontab?
54. Which command will disable the ssh service at next boot?
55. Which of the following is the default RHEL window manager?
56. Which directory maintains the system logs for tasks performed on your system?
57. Which command do you use to count words or lines in a file?
58. Which of the following is the default FTP port number?
59. Which of the following do you use to edit your crontab file?
60. Which of the following is the main configuration file that GRUB reads when it is loaded?
61. Which of the following will occur when using the pwd command?
62. How do you change the password for the root account?
63. Which would be used to display all logical volumes?
64. Which switches (options) will route accept?
65. Where do you make changes to select the level of firewall protection?
66. Which of the following is the default highest runlevel?
67. Which command can you use to list the most CPU-intensive processes on your system?
68. In which file are user-encrypted passwords stored?
69. Which is the standard directory for temporary mount points or mounts for removable media(e.g. CD-ROM)?
70. Which of the following will allow you to copy the system log to the current directory?
71. Which of the following describes the command 'route'?
72. Which type of files are located at '/etc/rc.d/rc.d/' directories(where is the number of the runlevel)?
73. Which of the following is used to list users that are logged on?
74. Which command can be entered on reboot at the boot prompt if your /etc/inittab file becomes corrupted and it is necessary to start up your system while bypassing the inittab file, so you could edit the file to fix it?
75. If you want to set a samba share as read/write, which command should you add in /etc/samba/smb.conf?
76. Which of the following is the default I/O scheduler elevator?
77. How are scripts within a cron directory run?
78. In a file delimited by commas, which command will print the 3rd column of data?
79. Which command is used to check your current runlevel?
80. Which program can add a password for a group and is used to administer /etc/group and /etc/gshadow?
81. Which of the following will allow you to disable SSH root login?
82. Where do you configure an OpenSSH server?
83. Which of the following can be used to display IP routing table?
84. Which of the following is the permission of /etc/shadow?
85. Where do you look to check the list of shells installed on the system?
86. After extending LVM logical volume that has file system, which of the following should be done to extend file system?
87. When creating a new user account, unless otherwise specified, which directory's files are automatically copied to the home directory?
88. How would you find out the date and time of an rpm installation?
89. Which command is used to see the aging of a password?
90. Which of the following is used for partitioning disks?
91. Which command should you issue if you are in runlevel 5 and want to change to runlevel 3?
92. Which runlevel halts the system?
93. If you use multiple crontab files, which directory contains them?
94. During boot init program checks, from which file is the default runlevel?
95. Which command is used to open a remote ssh shell with the account test_account on the host test_host?
96. Which of the following is the default port for squid?
97. Which event will occur with the following command? 'shutdown -r now'
98. A normal user sends a print job to the default printer but later finds the print queue is big and decides to cancel the job. How would the user perform this task?
99. Which of the following filesystems uses journaling?
100. When you first add a user to the system, you must provide the user with a bare-bones version of their login, shell, and logout initialization files. Where are the default initialization files kept?
101. If you set your /etc/inittab file to have the default init entry of 'init:3:default:', which of the following is your system default runlevel?
102. Which of the following is used to power down the system?
103. In which version of RHEL was the pNFS introduced?
104. Which command would you use to check the RedHat OS version?
105. Which state is runlevel 6?
106. Which of the following describes the /proc command?
107. Which command generates a DSA ssh key?
108. Which of the following will occur when the 'rpm -ql nagios' command is used?
109. Which of the following commands enables ip forwarding permanently?
110. In which mode can LVM be created during installation?
111. Which of the following repquota command option is used to Report all quotas, even if there is no usage?
112. If /root partition is installed on /dev/hda2, what defines hda2 ?
113. In Red Hat Linux 9 OS, which of the following commands can only be used in the GRUB menu configuration file? 1. password 2. timeout 3. splashimage 4. fallback
114. If the permissions of rc.sysinit are changed from 655 to 444, what will happen during the next reboot?
115. How should a cron job that prints 'hello' every morning at 4:02am, be set up?
116. Sticky bit and suid are to be set on /home/test. Which command should be used to give rwx permissions to each user, group and others?
117. What is proc file system?
118. When the system is started, it shows Redhat Enterprise Linux. When the enter key is pressed, it shows the grub prompt. The present working directory is either / or /boot. How can you find the /boot partition at the grub prompt?
119. Which entry is specified in /etc/resolv.conf ?
120. How many disks are required in Raid level 5?
121. How can kernel-2.6.9-5 rpm be installed?
122. Through which of the following commands can a corrupted initrd be recreated?
123. While troubleshooting Xserver, which of the following steps is not required?
124. What problems will be faced during reboot, when the permissions of /tmp are 655, and the default permissions are 1777?
125. Can / partition on lvm device be installed during installation?
126. How can ext2 filesystem be converted to ext3 filesystem if the partition is /dev/hda7 ?
127. What will be the behavior of the following command: # echo '1' > /proc/sys/net/ipv4/ip_forward
128. Which entry is not required in /etc/sysconfig/network ?
129. What should be done to extend a 200MB LVM named lv0 by 50MB. A volume group named vg0 of 100MB is available free, lv0 is mounted on /test ?
130. What is the full form of MBR?
131. How should a raid device /dev/md0, with level 0, and devices /dev/hda6, /dev/hda7 be created?
132. In Red Hat Linux 9 OS, which of the following directories is used to store the configuration files for network interfaces, and the scripts for activating and deactivating them?
133. Can the size of LVM be decreased?
134. In which of the following locations are boot messages stored?
135. How is an LVM of 200MB named lv0 created within the volume group vg0?
136. There are 3 disks of 1 GB each, with mean total 3 GB. If a raid level 5 is implemented, what will be the size of the raid device?
137. Which command is used to set a quota for user Debbie. The path is /test, the size of quota is 5MB and soft limit is 4MB. The user is not allowed to use more than 5MB.
138. What should be the command to view the details of raid device /dev/md0 ?
139. What does the entry id:3:initdefault: define in the /etc/inittab file?
140. A new partition /dev/hda6 has been created. How will it be formatted with ext3 file system (one block=1024 bytes, inode size=one inode every 2 blocks)?
141. The command which configures devices is:
142. What is the correct format for kickstart installation through NFS, when the NFS IP is 192.168.0.254, and the file path on the server is /kickstart/ks.cfg ?
143. How can you tell which RPM the /etc/inittab file belongs to?
144. A new swap partition is created and entered correctly in /etc/fstab. How will it be mounted?
145. Which of the following denotes Raid level 0?
146. Which of the following commands will format the /test partition?
147. During Linux installation, in which mode can RAID be created?
148. Which of the following files contains the IP address of the gateway?
149. /dev/hda6 and /dev/hda7 are two partitions of 150MB each. What is the correct statement to create physical volumes?
150. Which is the correct command to start the daemon of the printserver?
151. In Red Hat Linux 9 OS, which of the following run levels specifies the full multi-user graphical mode?
152. What types of files does /proc filesystem consist of?
153. What is the path of rc.sysinit?
154. Which statement correctly creates a Volume Group, named vg0, when there are two partitions /dev/hda6 and /dev/hda7 of 150 MB each, totalling 300MB?
155. How can ext3 filesystem be converted to ext2 filesystem if the partition is /dev/hda7 ?
156. Which entry does not belong to ifcfg-eth0 ?
157. Which of the following commands can be used to display a long listing of files, with a human-readable file size (like 6.8M instead of 6819467)?
158. Which command is used to modify the user?
159. Which of the following commands will create a softlink?
160. Which is the correct syntax to give permission 755 to the dir /etc/test ?
161. Allen wants to see a long listing of files, including the hidden files of the current directory. Which option will he choose with the ls command?
162. How will you display the fifth man page for the inittab command?
163. What does the aspell command do?
164. Which of the following vi commands will discard the changes to the file and exit the vi editor?
165. Which of the following is the path that contains documentation about installed packages?
166. Which of the following vi commands will save the file and exit forcefully from the vi editor?
167. Which of the following commands will show you a page-wise listing?
168. What does the following command do? # what is cal
169. Does Linux support wildcard characters, regular expressions and modifiers?
170. What does the pwd command do?
171. Which of the following is the intermediate between the hardware and the shell in the Linux operating system?
172. Which of the following is the parent process in Linux, which further has no parent?
173. How can you obtain a short description of the ls command?
174. Which of the following vi commands is used to enter in to insert mode?
175. Which of the following is the correct path of the passwd file?
176. Why is the wc command used?
177. How many terminals are provided by default in the Linux operating system?
178. What kind of software is the Linux operating system?
179. What is the output of the following command? $ man cal > cal.man
180. Which of the following are valid grep syntax?
181. What is the meaning of GPL?
182. Which of the following is not a valid shell?
183. What is the name of the file where groups are added?
184. What does permission 644 denote?
185. What output should the ls command show after executing the following command? $ touch {report,graph}_{jan,feb,mar}
186. Which command changes permissions of files or directories?
187. Who developed Linux?
188. Which of the following is an incorrect command?
189. What is the correct format to open the file /etc/test into the vi editor?
190. Which of the following vi commands will delete the current line?
191. How can you locate the file named passwd?
192. The user's current path is /root/Desktop/abc. If he runs $ cd ../../../ what will be the user's current working directory?
193. What is the purpose of the touch command?
194. Linux operating system is:
195. What is the purpose of the makewhatis command?
196. What does permission 777 denote?
197. Which of the following commands lets you search for text in a file without opening the file first?
198. What does the head command do?
199. Which is the correct syntax to display the calendar of September 2005?
200. What does the history command do?
201. Which command is used to add a new group?
202. How can the version of the Linux kernel be checked?
203. Which of the following vi commands will exit forcefully from the vi editor without saving changes to the file?
204. What does the du command do?
205. Which command adds a new user?