Linux Interview Questions
Linux Interview Questions
4. How to check the block devices that are connected to Linux server?
a. lsblk – Is the command to display all the block devices connected to server.
10. What tool do you use to monitor the performance of the server?
a. Top – Utility displays the real time system performance of linux server which will
be easy to troubleshoot any load balancing related issues.
12. How to terminate a process, what is the difference between SIG 15 and SIG 9?
a. Kill – command can be used to kill the processes using the appropriate signals.
b. Sig 15 – Will be used to terminate the process in a standard way.
c. Sig 9 – Will be used to terminate only the non-responding processes or
abnormally behaving processes.
d. Top – can also be used to kill the process by pressing the K button from top
menu and selecting the specific process ID and signal.
13. What tool you have used to install and manage the packages in Linux?
a. YUM – yellow dog update manager, which is a powerful tool to manage the
packages. It also eases the job by installing the dependencies automatically of a
package.
i. Yum can be used in – Redhat, centos, Amazon Linux, oracle Linux
b. APT – Tool used on debain platform’s
c. YAST / Zipper – Tool used in SUSE Linux.
15. What is the difference between Emergency Mode & Rescue Mode?
a. Emergency Mode – Allows to troubleshoot the booting issues of a linux system.
But the file system will be mounted on read only file system manually we have to
remount the filesystem to read-write.
b. Rescue Mode – Functions the same way how emergency mode do, but the only
difference here is in rescue mode the filesystem will be mounted read-write by
default. We don’t have to remount here.