linux interview questions,linux administrator interview questions,linux admin interview questions and answers,interview questions for linux admin,latest interview questions for linux admin,top interview questions for linux admin,system admin interview questions
Linux interview questions
1. What is init process?
Ans: Every process will
be having a parent process except init process. It is parent process in the
system.it is first process initiate by kernel. PID of init will be1.
2. How to create
partion in Linux?
Ans: Fdisk is command to
create partion.To see partion list fdisk –l.To create partion fdisk /dev/sda or hda.
3.what are commonly used
kill command signals?
Ans: Kill –l wll list out all signals of kill command.There are
64 signals in linux mainly we use five important signals.
Reloading signal
9.killing process
15.for terminating process
20.for stopping the process
4. Difference
between ext3 and ext4 file system?
Ans: Ext3 stands for
third extended file system.It was
introduced in 2001.max file size can be 16gb to2tb. supports journaling
feature.Ext4 stands for fourh extended file system.It was
introduced in 2008. Maximum file size can be 16gbto 16tb.supports journaling
feature.
5. How to create
ftp user?
Ans: Suppose paul
new user want to be ftp user.
Useradd paul.assign password for user.passwd paul.in configuration file vsftpd.conf local enable=yes.
6. What is port
number for ftp?
Ans: Port no:20 for
ftp data transfer
Port no:21 for ftp
control connection
7. Which file store all services and port numbers?
Ans: All services and port numbers are in /etc/services.Each service is assigned with default port no.
Ans: All services and port numbers are in /etc/services.Each service is assigned with default port no.
8. How to down load a package using yum tool with out install?
Ans: Yum install –download package name.before that download plug should be installed .For that yum install --download .
Ans: Yum install –download package name.before that download plug should be installed .For that yum install --download .
9. How to view jobs info with job id?
Ans: Jobs command will list out jobs in back ground.it also displays with job id.
Ans: Jobs command will list out jobs in back ground.it also displays with job id.
10. How to send job to back ground?
Ans: Presently running job stopped by pressing ctrl+z.then type bg which leads frount ground job to back ground.
Ans: Presently running job stopped by pressing ctrl+z.then type bg which leads frount ground job to back ground.
11. How to send four ground job to back ground?
Ans: fg command which takes back ground job to front ground.
Ans: fg command which takes back ground job to front ground.
12. What are port numbers for samba?
Ans: netbios-ns - 137/tcp
Ans: netbios-ns - 137/tcp
netbios-dgm - 138/tcp
netbios-ssn - 139/tcp
microsoft-ds – 445/tcp
13. What is LILO?
Ans: LILO is boot loader for older linux systems. It is used to start operating system.GRUB is latest boot loader for latest linux systems.
14. How to create print q in linux?
Ans: Start print q from linux system type /usr/bin/enable printer model
Stop print queue type /usr/bin/disable printer model
15. What is command to know open ports on remote machine?
Ans: Type nmap is command to know open ports on remote machines.
No comments:
Post a Comment