Linux Interview Questions

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 23

Interview questions

1) Tell me something about yourself


2) Role and Responsibilities
3) Boot process
4) LVM
5) How we can take remote backup and 3rd party tool for same
6) What is LDAP and requirement?
7) Windows knowledge
8) What is AD and purpose of AD?
9) What is SSH and port No
10) What if I don't have Internet connectivity so how can I patch
server?

Interview questions
Q2 Tell me Boot Process?
Q3 How to Configure MySQL in Linux?
Q3 If I have directory name like example xyz in that directory there
many files & sub directory but I want to (delete only sub
directories) no files from xyz directory how I can do that?
Q4 Tell me the Package name of DNS?
Q5. What is the name of configuration file of DNS & where it's
located?
Q6 What is the Port No of FTP
Q7 What is Port No of NFS
Q8 What is Port No of Samba
Q9 What is Port No of Apache
Q10 What is Port No of DNS
Q11 What is A record & AAAA record?
Q12 what is zone in DNS

Interview questions
1. Tell me about yourself.
2. Difference between hard link and soft link?
3. How to work sticky bit?
4. How to lvm extend?
5os patching step by step?
6. How to check ram?
7. Explain top command, what is pairamiter?
8. Crontab files?
9. Which file system used in rhel7?
10. If want extend the file system what is command?
Interview questions
1) Tell me something about yourself
2) Role and Responsibilities
3) Boot process
4) LVM
5) How we can take remote backup and 3rd party tool for same
6) What is LDAP and requirement?
7) Windows knowledge
8) What is AD and purpose of AD?
9) What is SSH and port No
10) What if I don't have Internet connectivity so how can I patch
server?

Interview questions
1. What is the use of cut command in linux
2. What needs to be done before you can run a shell from a
command line
3. How do you access command line arguments from within shell
scripting
4. How to execute privileged command on linux
5. It is possible to substitute ls command with 'echo' command
6. What is the use of $ in shell scripting
7. How to use agruments in script and print it
8. How to check if file exists in a shell script
9. What is the equivalent of a file shortcut that we have on window
on a linux
10. How can you find out how long sysyten been running
11. How will you copy a file from one machine to another
12. By which command you monitor continuously updating log file
13. How you find the disk space usage details of all the file system
on machine
14. What command will you use to find whether a particular file
exists in system
15. How to check CPU and memory usage of a process in system
16. How to stop a process
17. How to create an empty file
18. How to create and remove directories
19. How to rename a file or shift its location from one directory to
another
20. How to see what file contains without using vi editor
21. How to get help or details for any command in the linux
22. What is the command to change the users passwd in linux
[15/09, 5:58 am] सचिन ये वले : Interview questions
1. create blank file using command?
2. Difference between hardlink and symlink?
3. find total link files in your machine?
4. Run cron job on every Monday to Friday?
5 . Run cron job On month of 1st Monday and last Friday ?
5. How to take remote of another machine ? Using command?
6. Hardlink and symlink command?
[15/09, 5:58 am] सचिन ये वले : tell me about yourself ?
1)what is top command ?
2)How to create the shell script in Linux | How to run shell script in
Linux ?
3)How to Use Command Line Arguments in a Bash Script ?
4)how to execute cmd in privileges linux ?
5How to Check if a File or Directory Exists in Bash?
6)How do I print all arguments submitted on a command line from
a bash script?
7)What is pid in Linux ?
8)What is used ' ' and " " in shell scripting?
9)Cut command use in Linux?
10)How to create and use alias command in Linux ?
11)You are logged in to a Linux system, how will you change your
password?
12)How to file rename and transfer one machine to another?
13)disk space usage cmd?
14)What is the use of $ in shell scripting ?
[15/09, 5:58 am] सचिन ये वले : Interview questions
1) what is configuration of nfs.
2)what is lock file in nfs and http?
3)what is will you do if server utilization is high.
4) what you will do if server down for 2 hr and running fine. in that
case what will do
5) what is daily activities in current organization?
5) do you know the raid configuration on single server and how
many disk required for raid 5 configuration?
[15/09, 5:58 am] सचिन ये वले : Interview questions
1) what is daily activities in current organization?
2) what command for memory utilization?
3)boot process
4)what are run level in Linux?
5)what are troubleshooting you have performed ?
[15/09, 5:58 am] सचिन ये वले : Interview questions
1. What are the files systems available in Linux?
2.which is main directory in linux?
3. how to extend partition in lvm?
4.what is top cmd?
5.what is rpm?
6.what are the tools we use in linux to configure packages?
7.Explain runlevels in Linux
8. What is export?
9. What is fstab? Use of fstab?
10. What are the default directories in linux?
11. Can root change the password of normal user?
12. Cmd for password change of user
13. Default partitions in linux?
14. What is the use of swap?
[15/09, 5:58 am] सचिन ये वले : Interview Questions

1. What was your role in the previous organisation?


2. how to see process ?
3. Defination of kernel
3. What is kernel?
4. how to patch kernel?
5. What is FTP , NFS , HTTP , HTTPS explaination with port no.
6. how to check different users ?
7. what is LVM.
8. Port no. of Mysql?
[15/09, 5:58 am] सचिन ये वले : Interview Questions
1) tell me about yourself
2) what is difference between rsync and scp.
3)how to check connectivity between two servers and how you get
remote of remote server
4)how to disable a root user
And how to add shell or bash to particular user
5)do you know about postfix
6)how to reset a password of root if root password is forgot and
given me step
6)how to reset Oracle sys password
7)how to add 100 user using script
[15/09, 5:58 am] सचिन ये वले : Interview Questions

what is cut command? for column which flag is used?


is = and == are same? what is use of it?
how to stop process?
which flags used in kill command?
how to check CPU and memory usage of a process in the system?
what command you will use to find whether a particular file exist
the shell scripting?
how do we create aliases ?
how will you find disk space usage details of the file system?
if i want to monitor continuously updating log file, what command
can be used to most efficiently achieve this?
How will you copy a file from one machine to other?
How can you find out how long the system has been running?
What is the equivalent of a file shortcut that we have on window
on a Linux system?
expr command in Linux with examples
How to list files whose second letter is a or b?
How to check if file exists in a shell script?
How to print all arguments provided to the script?
What is the use of "$?" sign in shell script?
Is it possible to substitute ls command with 'echo' command?
What does 2>&1 mean and when is it typically used?
[15/09, 5:58 am] सचिन ये वले : interview question:- 1- How to
exclude a package from yum update?
2- how to configure spacewalk
3- what is difference between grub and grub2
4- while installting pckg using rpm. how to solve this. A need B need
c need A .
5- how do you know if it hardware related issue?
6- while updating package on one server it is updating kernel
packages along with other.while on other it is not updating kernel
package,why?
7- you are not able to create file inside a filesystem.why?
8- you have to give permission to particular user to run particular
command
9- how to reduce xfs filesystem?
10- how to create FS size of 3 TB?
11- how to run particular service on particular CPU?
12- suppose you have 10CPUs and you have block 4 out of it. how
to do it?
13 - how to hide file from editing from other users?
14- what is kdump and how to solve software related issue?
15- how to check error with your disk?
16- what is redhat satellite server?
17- tell me about flusher threads
18- tell me about i/o architecture?
[15/09, 5:58 am] सचिन ये वले : Interview questions :-
1- there r 3 machines. all three are in different network. u can ping
from machine b to a and b. what to do to
to ping from machine a to c.
2- df -h shows 50% space is free. but you are not able to create any
file or start any services.what is the error?
3-what is architecture of puppet.
4- can we run multiple php services of different version on single
apache server,because php doesnt need port?
5- you are sitting in webex meeting with multiple teams. they ask
you to provide some information related to ports
of services and track packets. what should you do?
6- what is diff between rpm & yum.
7- Apart from rpm & yum is there any other way to install package?
8- where do you see yourself 5 years from now?
9- difference between rsync and scp
[15/09, 5:58 am] सचिन ये वले : Interview Questions..
Are configured NFS server and FTP server &How ..
What is port no of NFS FTP and Dns
What is volume manager.
Are u Working on VMware.
How to create partition through LVM.
Can we create 4 volume group on 1 Physical volume.
What is OS hardeneing.
What is kernal tunning .
What is sed command.
What is patching .
How to connect raw hard disk on running server and create
partition
What is NTP.
NTP port no.
How to configure Samba server
Explain for loop and if then ...
What is nested if..
[15/09, 5:58 am] सचिन ये वले : INTERVIEW QUESTIONS
1.what is linux?
2. What is OS?
3. What is kernel?
4. How to see inode?
5. What is inode?
6. ls -l fields?
7. What is IAM?
8. What is s3? Why we use?
9. What is autoscaling?
10. What is multitask and multiuser?
11. UID of root?
12. How to give or change permission?
13. How to change ownership?
14. How to check cron is running or not?
15. How restart service?
16. How to see or check schedulled cron jobs?
17. Scale yourself in linux?
[15/09, 5:58 am] सचिन ये वले : INTERVIEW QUESTIONS
1. What is linux and why linux?
2. Difference between soft link and hard link?
3. What is elastic IP?
4. How to take backup?
5. in boot process which file loads 1 st?
6. What is autoscaling?
7. How to check or see process?
8. difference between TCP and UDP?
9. What is ec2?
10. What is s3
[15/09, 5:58 am] सचिन ये वले : INTERVIEW QUESTIONS

• Tell me about yourself


• What type of servers in your company
• What is the port no of ssh
• How you troubleshoot your machine
• How you add 100 users in linux and How you gave password to
them
• What is chown command
• Whats the commnad to check service is enable or disabled
• Whats is the use of rsync cmd
• Where all servers located in machine
• How to find specific file path
• You have to gave specific permission to user of cp, rsync etc
commands,how you can do that
• How many and which type of servers in you company
• What is bootprocess
• Whats the use of find command
[15/09, 5:58 am] सचिन ये वले : INTERVIEW QUESTION
1) TELL ME ABOUT YOUR CURRENT DAILY WORK
2)WHAT IS DNS
3)DIFFERENCE BETWEEN DNS AND DHCP
4)PORT NO OF FTP WHAT IS FTP
5) WHAT IS NFS
6) WHAT IS POSTFIX
7)TELL ME ABOUT RUNLEVELS
8)WHAT IS FSTAB
9)WHICH MONITORING TOOLS YOUR ORGANIZATION IS USING
10)TELL ME ABOUT SMTP
11)WHAT IS RAID
12)TELL ME ABOUT NAGIOS
13)HOW TO CHECK DISKUSAGE
14)HOW TO CHECK WHICH APPLICATION IS TAKING MORE SPACE
15)WHAT WILL YOU DO IF THE SERVER IS IN HIGHUTILITY
16)COMMAND TO CHANGE THE UID OF THE USER
17) TELL ME ABOUT YOUR SELF
[15/09, 5:58 am] सचिन ये वले : INTERVIEW QUESTIONS

~ Which OS you are familiar with


~ How to insttal any server in linux
~ What ia RAID
~ What is symlink and hardlink
~ Whats the diff between gateway and subnet
~ Whats diff between gateway and dns
~ How to configure network in linux
~ Tell me about 5 permissions
~ What is fdisk
~ What fields is in the fstab
~ How to take a backup and about backup tools
~ How you can gave permission to user if user is in nologin shell
~ Whats the default permission of the file in linux
~ Whats the default permission of directories in linux (in numbers)
~ How we can check the permissions of the file or directories
~ What is umask
[15/09, 5:58 am] सचिन ये वले : Interview questions
1- Tell me about yourself?
2- Daily activities?
3- what is ACL?
4- what is LVM?
5- why we create PV and VG?
6- filesystem and filesystem types?
7-how to do partitions?
8- what is umask?
9-monitoring commands?
[15/09, 5:58 am] सचिन ये वले : INTERVIEW QUESTIONS
*how to use backup of specific files in a directory from one m/c to
other.
*How can we schedule chrone job.
*How to kill permanently a process.
*How can we check process status.
* can we check process id with the help of Top commad.
*LVM
*How can we add multiple user at a time.
*How can we check the newly added HDD.
[15/09, 5:58 am] सचिन ये वले : Interview Questions
1) What are your daily activities
2) What is firewall
3) What is Samba
4) What is Nfs
5) How to check machine on status and time
6) Manufacturers of Firwall
[15/09, 5:58 am] सचिन ये वले : Interview Questions
1. Tell me about your self and your daily activities.
2. What the first process load by kernel when system starts
3. What is inode
4. What will be the impact if inode is fully utilized.
5. How to extend existing volume by 10 Gb.
6. What is Chmod. Explaine.
7. How can we modify the permission
8. What is use of UMASK
9. What is user limit
10. How to check the system load
11. Do you know Bonding .
12. How to check which service is running on particular port.
13. How to check default gateway
14. Explain Boot process
15. Explaine any critical situation you faced during your day to day
work.
16. What is Panic Mode.
[15/09, 5:58 am] सचिन ये वले : INTERVIEW QUESTIONS

• Tell me about yourself


• What you have do in your company
• What is Lvm
• Whats the meaning of "echo 3" command
• Explain me the concept of sudo
• When you create an user, how much effect of userfile was created
• Explain setfacl
• If you are in one server and you need to start an another one
from current server,so whats the command for that
• What is the fullform of tar
• When we create a user after that u have assign an pid, whats the
use of that
• On which monitoring tool u have familiar with
• What is dns
• What is dhcp
• Tell me something about nagios
• What is ssh
• Explain me about private ip and public ip
• what is the UID of root
• Tell me how we assign ip to machine.
[15/09, 5:58 am] सचिन ये वले : Interview questions
Role and responsibility in company
What is the background process when we type google.com in web
page.
What is nfs
How to kill process
How to get specific pid number
How to add user
How to set umask what is umask
How to change the directory of the user
How to check load average on machine
What is tcpdump
What is networking tools in linux
How to block specific user in linux
[15/09, 5:58 am] सचिन ये वले : Interview questions
1 what is web hosting and do you have done webhosting
2 solution of the linux server and how many server have you install
and prepared
3 wht is ssl and ssl certificate
4 dns default port , dhcp default port
5 network firewall and work on network firewall
6 webhost mamager
7 server mirroring
[15/09, 5:58 am] सचिन ये वले : INTERVIEW QUESTIONS

• How to configure yum in centos 6


• What type of servers on you worked in your company
• What critical issue you have faced in troubleshooting
• What you have done with using shell scripting
• Tell me any 5 commands you use to get info of file
• Tell me some yum related commands
• Where is all services file located
• Whats the diff between EC2 and EBS
• How you launch instance in EC2,tell me briefly
• What type of monitoring tools you use in your company
• Tell me something about apt
• What is cron,give me some examples and use of it
• What is repo
• If someone get load on the application or server so how you get
to them and resolve it,tell me briefly
[15/09, 5:58 am] सचिन ये वले : INTERVIEW QUETIONS
•Tell me about your daily activities/roles
•What critical issue you have faced last time
•what is use of mount command
•what is PS command
•What is LVM
•What is zombie process in linux
•what command use to review boot process
•what is network bonding
•Tell me the runlevels in detail
•Explain Chmod command and syntax
•Command to enable swap space
[15/09, 5:58 am] सचिन ये वले : Interview Questions

1.Tell me about your self.


2.Tell me your day to day work.
3.Expain boot process.
4.How can i check OS version.
5.How can i check Kernel.
6.How can you check Mount Points.
7.What is LVM, Tell me steps.
8.How can i start any service automatically in Linux.
9.How can check Process ?
10.How can i check memory utilization?
11.How to check IP and Gateway?
12. What are the comands to start any service?
13. What is UID, GID..?
14. How can you change permission?
15. How can you change owner and Group?
16. If any service is not working on server, then what are the steps
to dignos it.?
17. Server log Monitoring Commands?
18. How take backeup?
Expain ZIP and TAR..?
19.What is File System, How to FORMAT a partition?
20. How to kill a Process .
21. What is .bashrc file
[15/09, 5:58 am] सचिन ये वले : Interview questions
Tell abouts yourself
Tell me about your daily activities/roles
How to go single user mode
How to add user
How to add user in home directory
How to create lvm
What is current server version
What is fstab
How to install package with yum in centos 6
[15/09, 5:58 am] सचिन ये वले : Interview questions.
Company-Netmagic.

1.Worked on suze Or ubuntu.


2.Worked on VM ware.
3.Aware about DRS in VMware.
4.What is HA in VMware.
5.What is snapshot.
6.What is clone.
7.What is RAID.
8.What is different between raid0 and raid5
9.Free hdd add 300GB as you to create raid5 how much usable
space you will get.
10.LVM
11.Lvextend.
12.Lvreduce.
13.Multipath.
14.Different between NAS and SAN.
15.OS patching.
16.Update rhe 7.6 to 9 how will take update.
17.How will you update available all the security patches.
18.OS hardening.
19.How will you block ssh access of my server from particular
source ip how will you block.
20.Have you blocked any port in iptables.
21.Aware about TCP wrappers.
22.TCP works on user base, service base Or port base.
23.NIC bonding.
24.Are you configured ftp.
25.NFS which is primary file for NFS.
26.Which is minimum package you will install on NFS plant.
27.You are trying to mount NFS partition but you are not able to
mount how will you trouble shoot.
28.Have you worked on OS cluster.
29.Have you worked on DNS.
30.What is SOA record.
31.Port number NTP, SMTP, Http, https, myself.
32.How will you change hostname in rhel 7
33.I have a files system with 200gb out of which 100gb is free and I
want to create partition but i unable to create how will you trouble
shoot.
34.How can i check the current route on serves.
35.If I want to add one static ip how will you add.
36.I have an interface eth0 how will you add 5 public ips.
1. What needs to be done before you can run a shell script from
the command line prompt?
2. How do you access command line arguments from within a shell
script?
3. What is the use of cut command in Linux?
4. What does 2>&1 mean and when is it typically used?
5. How to execute privileged commands on Linux?
6. Is it possible to substitute 'ls' command with de'echo' command?
7. What is the use of "$?" sign in shell script?
8. How to use arguments in a script?
9. How to print all arguments provided to the script?
10. How to check if file exists in a shell script?
11. What difference between ' and " quotes?
12. How to list files where second letter is a or b?
13. How to add integers a and b and assign it to c?
14. What difference between = and == in shell scripti

You might also like