You are on page 1of 4

1. How to check partition size in human readable form using CLI?

df Th,
2. What is the command returns connected partition ? fdisk -l
3. How to check swap size in human readable form using CLI? swapon s
4. Enable swap partition use swapon? Swapon /dev/sda
5. what is the command used for forcing partition to write in HD ?
partprobe /dev/sda1!4"
#. How to check directory size using CLI? d$ sk inside dire%tor&
'. What is anther command use for partitioning ? parted
(. command is used for creating swap filesystem? )kswap
*. What is Inode? +etadata whi%h $sed to store file , dire%tor& infor)ation.
1-. How to check Inode number for particular file? ls -li
11. What is oft link ! hard link? What are the differences between them?
12. How to check permission of the underlying actual file using ymbolic Link by
running command on the link file? ls l.
13. How to create a parallel user of "root#? $id , /id )ake -
14. What do you mean by track$ sector ! cylinder of Disk?
15. What is %&'DI(? To )o$nt the root file s&ste) ne%essar& )od$les r stored
here.
1#. What is Chicken Egg problem ! what is the solution of it?
1'. How to check the system reboot status i)e) how may time system is rebooted !
when? last
1(. How to check how long the system is running since its last reboot? $pti)e
1*. What is %&ID? Difference between hardware ! software %&ID?
2-. How to enter single user mode in Linu* +while booting ! while running,?
21. How many run le-els are there in Linu* ! what are its functions?
22. Which file is consulted to set default run le-el?
23. How to increase -irtual console in Linu* from the default ones? Init .
24. What is swap space? Why it#s re.uired? How to create swap file/partition if
re.uired? How to get that swap file/partition applicable across reboot?
25. How to check how may users ha-e logged into the system? w/who
2#. Which command is used to sense any newly installed H/W? k$d0$
2'. Which commands we can use to start the 0 session from CLI? start1
2(. Which process starts first in Linu*? init
2*. How to see the process tree? pstree
3-. How to kill a process in CLI? What kill signals are a-ailable?
31. How to check the %&'/W&1 utilization of currently running processes?
2ree /top
32. How to check permission of a directory? .s -ld
33. What is alias? How to setup an alias for a particular user? .bashr% edit alias
r)23r) -i3
34. What is 3ID$ 4ID ! sticky bit? What are the octal -alues of these bits?
35. How to change owner ! group of a file using a single command or using different
command? 4hown $serna)e5/ro$pna)e filena)e
3#. How to configure &CL? Why we re.uire an &CL?
Setfa%l ) $5$serna)e5rw /ho)e/avi6it/filena)e
Setfa%l 1 $5$serna)e /ho)e/avi6it/filena)e
3'. How to configure disk .uota?
7$ota%he%k )%v$ /ho)e 7$otaon /ho)e
set7$ota -$ avi6it soft hard soft hard /ho)e
ed7$pta /avi6it
ed7$ota t to %han/e /ra%e period
3(. What is soft limit ! hard limit in disk .uota?
Soft li)it is warnin/ li)it , hard li)it is )a1 li)it
3*. How to generate a broadcast message to all the users who logged into the ser-er?
8all )essa/ena)e
4-. What is the default 3'&( for directory ! file in Linu*? Where it is set?
-22
9efa$lt dire%tor& partition )ask '55
:nd file per)ission is #44
41. How to gi-e root access in 5elnet er-er? /et%/se%$rett& pts-
42. How to configure 5elnet er-er so that users can perform 5elnet from 6788&' to
97881' from only :6;):9<):)8/;= network +none else can perform telnet in this
ser-er,?
43. How to block root access in H?
44. How to know the stored public keys for H clients?
45. Which is logging file for H login? /var/lo//se%$re
4#. How to turn on a ser-ice for specific run le-els?
%hk%onfi/ level send)ail 35 on
%hk%onfi/ --list send)ail
4'. How to tra-erse a tar file without e*tracting it? tar -tvf filena)e
4(. How to check %&'$ C13 information in running Linu* without rebooting?
/pro%/%p$info , /pro%/)e)info
4*. How to configure %H$ %>?C ser-er ! client in Linu*?
5-. Where does the log file stored by default ! how to check/change that location?
/et%/s&slo/.%onf
51. How to schedule a @ob? How to check whether scheduled @ob has run or not? How
to check schedule @obs for root ! other users being in root? 4rontab l for root
4rontab -$
52. How to check consistency of a file system? ;s%k & /dev/sda
53. What is input/output redirection?
54. What is a pipe?
55. How to install %1'? How to install %1' with automatic dependency ! without
dependency? <p) ivh aid Where is the database of %1' are in standard
Linu* installation? /var/lib/rp)
5#. How to install a package from source?
5'. How to configure shell/home directory while creating user?
5(. How to delete a users home directory while deleting the user from CLI?
5*. How to change password e*piration date$ locking period etc for a user using CLI
commands? Which file gets affected after this command? 4ha/e l
#-. How to set 1&5H? How to set HI5A%> IBE? Difference between bash !
bourn shell?
#1. How to take backup of particular file system? Which file to consult for the status
of backup?
#2. How to mount a remote file system?
#3. How to configure ?2? Which ser-ices should run for ?2?
#4. How to check samba configuration file?
#5. How to configure samba to a Linu* slice so that it can be mounted from windows
as writable +for a list of :888 users only who are in a particular group, and with
the predefined umask set? write list =/r$pna)e
##. How to test H551 configuration file? httpd
#'. Why we re.uire -irtual web hosting? To have )$ltiple website
#(. How to configure H551 site?
#*. How to configure 251 ser-er so that users are @ailed within there home directory?
%hroot>llo%al>$ser2?@S
'-. Why root can#t perform 251 login?
;or se%$rit& reason
'1. How to configure 251 ser-er so that anonymous users can upload files?
write>enable2?@S
'2. What is the log file for 251 upload/download i)e) data transfer?
/var/lo//vsftpd.lo/ b&defa$lt it is disabled we need to %o))ent o$t this line
1ferlo/>file
'3. Why we re.uire DHC1 ser-er? How to setup a Linu* DHC1 ser-er? How to
perform reser-ation in it? What are the four steps that DHC1 clients re.uire to get
I1 from DHC1 ser-er? Which file stores the lease information of Linu* DHCp
ser-er?
'4. What is D? ser-er? What is forward ! re-erse lookup zone?
'5. What is %oot D? ser-er?
'#. How to configure D? in Linu*? What is the name of package re.uired to install
D? in Linu*? bind
''. 1lease discuss different fields in /etc/fstab)
1. lebel 2.devi%e 3.)o$nt point 4.option 5. d$)pin/ #. files&ste) %he%kin/
'(. Why we re.uire /etc/resol-)conf ! /etc/nsswitch)conf? deter)ine how %he%kin/
will o%%$r
'*. How to change the C?C password using CLI command? Cncpasswd
(-. Which log file is created when s.uid starts for the first time? /var/spool/s7$id/
(1. Which is default port on which pro*y ser-er listens? 312(
ome scenario based .uestion7
1. >ou ha-e a ser-er ! a client) >ou do not ha-e any CD%A' in your client) Dut
you need to install a package for D?) &gain you do not know the particular
package name re.uired for D?) How you will install that package without CLI
tools or without double clicking the package from 43I?
S&ste)-%onfi/-pa%ka/es -tree2/)o$ntpoint
2. >ou are ha-ing a new Dell ser-er) >ou want to install Linu*) Dut you lost its
manual) &lso you can#t open the cabinet to check the amount of %&' as it will
-oid the warranty) o$ what are the possible ways to setup W&1 space while
installing Linu*? 4tlAalt Af2 , r$n free %o))and or fro) BCDS
3. >ou are ha-ing a running Linu* ser-er) uddenly you noticed that its 43I is not
coming but its CLI is ok) What may be the problem? Eroble) in FGD+@,1fs
servi%e
4. I am unable to boot the Linu* bo*) I am unable to enter in single user mode as
4%3D is password protected ! I forget its password) How resol-e this issue?
Install the grub again)
5. >ou ha-e a Linu* m/c) &nother &dministrator has inad-ertently changed in
some system file ! he can#t remember the name of the file) Dut you do not
know this) o when you rebooted the 1C it#s going in default run le-el E) Dut
you can#t login) &fter gi-ing username when you press enter it#s again asking
for username) How to sol-e this issue) 1am)d/loging
The Kudzu program includes an initialization script,
/etc/rc.d/init.d/kudzu, which is run at boot time
(unless disabled).
#.

You might also like