Linux intermediate (Level 2) Interview Questions

Differences between RHEL 6 and RHEL 7 ? What is bonding/Teaming ? How we can check what process are taking high CPU/Memory utilization? What type files/directory are present in /boot, /dev and /opt path ? Where are log file present and how we can change it ? What is runlevel and difference between runlevel vs […]

AWS CloudWatch

Problem statement: We do not have central monitoring tool for AWS resources and compliance. Solutions can be implemented with this service: CloudWatch provides data and actionable insights to monitor your applications, respond to system-wide performance changes, optimize resource utilization, and get a view of operational health. Collects monitoring and operational data in the form of […]

Samba-Share Setup

Samba is basically used for sharing files, printers etc. with other computers which can be windows, Linux, Ubuntu, Mac, etc.We have mentioned steps to install and configure samba in a Linux System. Step1: Install required packages using yum. # yum install samba* # rpm -qa | grep -i samba (check installed packages) Step2: Now configure […]

Systemd Cheat Sheet

Systemd Services Command (Cheat Sheet) 1.VIEWING systemd INFORMATION systemctl list-dependencies              Show a unit’s dependencies systemctl list-sockets                   List sockets and what activates systemctl list-jobs                      View active systemd jobs systemctl list-unit-files      […]

Linux Basic Interview Questions

What is the basic difference between UNIX and Linux Operating System ? Define LINUX Kernel ? What do you understand by swap space in Linux ? How will you find which operating system your system is running on in UNIX ? How do you check how much space left in current drive ? How do […]

Enable direct root login on Ubuntu

By default, direct root login is disabled in Ubuntu. You need to follow below steps to enable it. Step1: Login to server via sudo user and become root. testuser@master:~$ testuser@master:~$ sudo su – [sudo] password for testuser: root@master:~# Step2: Open /etc/ssh/sshd_config file using your favourite editor and make below changes: Current Configuration: root@master:~# cat /etc/ssh/sshd_config […]