Linux Interview Questions and Answers for L1 level

(Last Updated On: September 30, 2018)

Linux Interview Questions and Answers for beginners.


                           I am writing this article for those people who are on a learning stage and just started to feel the Linux flavor. I was once preparing for my Linux system admin I was looking for some Linux interview questions and answers, which can help me out for my interview.

These questions and answer will help you understand a Linux operating system more deeply as well as it will help you to crack your interview. There are so many topics to discuss with and as this article is for a beginner level, So I have pointed out some of the most asked Linux interview question and answers in this article.

So watch out for some of the Linux Interview Questions and answer below.


Here are the top Linux interview questions and answers.


Q: What are the differences between a Linux and a Unix Operating system?

A:   Only big companies are allowed to use the UNIX copyright and name, as it is a copyrighted name. So if you want to get the source code of UNIX then you have to pay a good amount for that copyright. So only companies like IBM, SUN, HP, etc have the copyrights of Unix.

So IBM AIX and Sun Solaris and HP-UX all are actually a modified version of UNIX operating systems.  All these big companies made changes the original OS source code and then they produce their own flavor.

Linux is a UNIX-like operating system or clone OF Unix, it was written by Linus Torvalds with assistance from a loosely-knit team of hackers across the world.


Q: How To check the uptime of a Linux Server?

A: Using the  “uptime” command,  we can determine how long a Linux system has been running,


Q: How to check what the current runlevel of a Linux System is?

A: There are a couple of commands that can be used to determine the current run-level of a Linux system.

runlevel’,  are used for checking run-level. There is one more command ‘who -r’  that is also used for the same purpose


Q: What is a soft link and a hard link?

A:  It is a method to create shortcuts in Linux. It is very similar to the windows shortcut feature.
A symbolic link or soft link is a link to another name in the file system. But a hard link has been made the link is to the inode.
So renaming or moving or even deleting the actual file, will not affect the hard link as it links directly to the underlying inode, but it will surely delete the soft link.


Q: What is the name of the first process that runs in Linux?

A:  init is the first process.


Q: How many primary partitions are possible on one drive?

A: There is a maximum of ‘4‘primary partition possible on a drive.


Q: The default port for Apache/Http is?

A: By default, Apache/Http is configured on port 80.


Q: From the following which is not an RPM based OS.?

RedHat Linux
Scientific Linux

A: Except the Debian operating system which is not an RPM based operating system, otherwise all the other listed above are RPM based except Debian.


Q: Which option in fdisk will display the partition table?

A: In fidisk utility, the “p” command will print the partition table.

# fdisk -l


Q: How to check IP address in Linux?

A:  ip -a | ifconfig these are the commands to check for IP address in Linux system.


Q:  How can you list all running process?

A:  Use ps -ef command to list all running process.

# ps -ef   or  ps -aux


Q: What is Kerberos used for?

A:  Kerberos is used for secure network login.


Q: What are the file systems that a Linux OS supports?

A:  File systems that are supported in  Linux OS are, Ext2, Ext3, Ext4, Jfs, Xfs, Btrfs, FAT, etc.


Q: What are the basic components of Linux?

A:  The basic components of Linux are as follows: Kernel, System Library, System Utility.

Kernel Kernel is considered as the core part of a Linux operating system. It does all the major activities and works as an interpreter between the hardware and the software/application.

System Library:  It performs all the main functionalities like file manipulation, getting the current date and time. Application programs access Kernel’s features using these special functions.

System Utility These are basically programs that are responsible for executing specialized tasks individually.


Q: Which partition store system configuration files in Linux system?

A:  /etc partition stores system configuration files in Linux.


Q:  What is tar used for?

A:  tar is an archive utility used for archiving and extracting files. It is mainly used to take backup.


Q:   How to install a package in Linux system?


For rpm based Linux systems like Redhat Linux: yum install “package name”

For Debian based Linux systems like Ubuntu: apt-get install “package name”


  • These are some of the basic questions for an L1 level. If you like this article then comment below so that I can write more of these.





So, guys, I have tried my best to simplify things so that you can have a better understanding and user experience. Now it’s your turn to pay me back.

Now I am expecting your responses. If you like this content or even dislike,  just leave a comment. Your responses will motivate me to do better and deliver better. I will try my best to enrich my skill.

So thank you guys, Have a good day.

Rate this content
User Review
4.62 (13 votes)


  1. India Raine
  2. tushar
  3. Aashish dhull

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Ad Blocker Detected

Ad Blocker Detected, please disable it to help this page in many ways. Thank you so much.