Linux Objectives
Linux Objectives
11. When a file into vi editor /etc/test is opened, it will not be inserted. Whi
ch option should inserted before the cursor?
Correct Answer: i
12. Which of the following options saves the file and exits forcefully from vi e
ditor?
Correct Answer: Wq!
1. Who is the founder of Linux?
Correct Answer: Linus Torvalds
2. What is the most important aspect in Linux Operating System?
Correct Answer: Kernel
3. Linux operating system was installed in the morning. Can the WHATIS command b
e run without executing the command MAKEWHATIS by administrator?
Correct Answer: No
13. 12. How much space does bootloader take on the disk?
Correct Answer: 511Bytes
1. If permissions of rc.sysinit is changed from 655 to 444, what will happen dur
ing the next reboot?
Correct Answer: System will not boot
2. When the system is started, it shows Redhat Enterprise Linux. When the enter
key is pressed, its shows the grub prompt. The file system status is / , /boot.
Then swap is installed. How will the /boot partition at grub prompt and the inco
rrect entry found?
Correct Answer: GRUB> find /boot/grub.conf
5. What should be the command to view the detail of raid device /dev/md0?
Correct Answer: #mdadm --detail /dev/md0
12. Write a command to setquota on user Debbie. The path is /test, the size of q
uota is 5MB and soft linit is 4MB. The user is not allowed to use more than 5MB.
Correct Answer: Setquota Debbie 4096 5120 0 0 /test
1. If /root partition is installed on /dev/hda2, what defines hda2?
Correct Answer: 1st harddisk 2nd partition
3. A new partition /dev/hda6 has been created. How will it be formatted with ext
3 one block =1024, inode size=one inode every 2 blocks?
Correct Answer: Mke2fs -b 1024 -i 2048 -j /dev/hda6
4. How can ext2 filesystem be converted to ext3 filesystem, when partition is /d
ev/hda7?
Correct Answer: Tune2fs -j /dev/hda7
5. How can kernel-2.6.9-5 rpm be installed?
Correct Answer: # rpm -ivh kernel-2.6.9-5.rpm
6. What is correct format of kickstart installation through nfs, when nfsip is 1
92.168.0.254, and file pathon server is /kickstart/ks.cfg?
Correct Answer: linux ks=nfs:192.168.0.254:/kickstart/ks.cfg
7. Which entry is specified in /etc/resolv.conf ?
Correct Answer: Nameserver ip address
8. How many disks are required in raid level 5?
Correct Answer: Min 3
9. /dev/hda6 and /dev/hda7 are two partitions of 150MB each. What is the correct
statement to create physical volume?
Correct Answer: Pvcreate /dev/hda6 /dev/hda7
10. How is an lvm of 200MB created, when there are free vg0 of 300MB, named as l
v0?
Correct Answer: Lvcreate -L 200MB lv0 vg0
11. What should be done to extend lvm lv0 by 50MB, when we already have lvm name
d as lv0 of 200MB, vg0 of 100MB is available free, lv0 is mounted on /test conta
ining backup of home dir?
Correct Answer: Lvextend -L 50MB lv0