You are on page 1of 2

1.

le
a.
b.
c.
d.

Which command is used to enable new swap partition /dev/sdc1 in /etc/fstab fi


swapon -p
swapon
swapon -a
none

2. which command is used to extend logical volume by 200MB? assume that there is
enough space available in volume group vg1
a. vgcreate +L 200MB vg1
b. lvcreate -L +200MB vg1 -n lv1
c. lvextend -L +200MB /dev/vg1/lv1
3. which options best suit for ecommerce website for a small to middle organizat
ion?
1. VPS
2. cloud
3. shared hosting
d. dediated hosting
4. You need to search text "welcome" /root/a.txt file. which of the following co
mmand will you use?
a. find /root/a.txt -name "welome"
b. sed /root/a.txt "welcome"
c. grep "welcome" /root/a.txt
d. none of above
5. which of the following
it to /tmp folder?
a. find / -perm ram -exec
a. find / -name ram -exec
a. find / -user ram -exec
d. all of above

command is used to find all files of user ram and copy


cp {} /tmp \;
cp {} /tmp \;
cp {} /tmp \;

6.
a.
b.
c.
d.

which command is used to fine the verison of kernel?


kdump
uname -r
fuser
none

7.
a.
b.
c.
d.

which character is append at the end of command to run command in background?


#
&
!
none

8. you are require to run command at a particular time in future for only one ti
me. which command will you use?
a. watch
b. crontab -e
c. at
d. all of above
9. you are required to enable httpd service at boot. which of the following comm
and will you use?
a. chkconfig httpd on
b. systemctl enable httpd
c. both of above
d. sysctl enable httpd

10. you are require to set value for ip_forwarding, in which command will you se
t it?
a. /etc/inittab
b. /etc/sysctl
c. /etc/fstab
d. none of above

You might also like