Posts

L1 / L2 Linux System Admin Interview Questions

Ques 1. What is the difference between umask and ulimit ? umask stands for ‘User file creation mask’, which determines the settings of a mask that controls which file permissions are set for files and directories when they are created. While ulimit is a linux built in command which provides control over the resources available to the shell and/or to processes started by it. You can limit user to specific range by editing /etc/security/limits.conf at the same time system wide settings can be updated in /etc/sysctl.conf Ques 2. What are the run levels in linux and how to change them ? A run level is a state of init and the whole system that defines what system services are operating and they are identified by numbers.There are 7 different run levels present (run level 0-6) in Linux system for different purpose. The descriptions are given below. 0: Halt System (To shutdown the system) 1: Single user mode 2: Basic multi user mode without NFS 3: Full multi user mode (...

L1 - Linux Interview Questions

Hello Techies, In this post we are going to discuss 40 basic Linux interview questions for freshers or beginners. These questions will give you an idea about what type of questions generally asked for Linux administrator Job. Q:1 What will happen when you execute the command “mv *” in your current directory ? Ans :  Linux Shell usually expand * in alphabetical Order, So When we execute the command “mv *” then it will check the file and directories alphabetically order and will move all the files and directories to the directory which is created in the last according to alphabetical order, if alphabetically a file is created in the last then command will through an error ” mv: target ‘x’ is not a directory. Q:2 Tell me the main difference between SSH and Telnet command ? Ans :  Both SSH and telnet are used to connect remote servers. SSH stands for Secure Shell and When we do ssh to any server then data (User’s Credentials) is transferred in an encrypted f...

L1 - Linux System Admin Interview Questions

In this tutorial we will discuss most frequently asked linux system admin interview questions for Beginners. Below are the list of L1 level Linux interview questions.. Q:1 How To check the uptime of a Linux Server ? Ans: Using uptime command we can determine how long a linux box has been running , also uptime can be viewed by the top & w command. Q:2 How to check which Redhat version is installed on Server ? Ans: Use the command cat /etc/redhat-release , output of this command will tell you the redhat version. Q:3 How to install rpm packages in Redhat & CentOS linux ? Ans: rpm and yum command are used to install packages in redhat linux and CentOS. Q:4 How to check the ip address of LAN Card ? Ans: Using ‘ifconfig’ & ‘ip address’ command we can determine the ip address of LAN Card. Q:5 How to determine the hostname of a linux box ? Ans: On typing the hostname command on terminal we can determine the hostname of a linux server. Q:6 How To che...