Linux Directory Structure

/bin : All the executable binary programs (file) required during booting, repairing, files required to run into single-user-mode, and other important, basic commands viz. , cat, du, df, tar, rpm, wc, history, etc. /boot : Holds important files during boot-up process, including Linux Kernel . /dev : Contains device files for all the hardware devices […]

Linux Basic Commands and Description – Part 1

adduser : Add a new user arch : Print machine architecture awk : Find and Replace text within file(s) bc : An arbitrary precision calculator language cal : Display a calendar cat : Concatenate files and print on the standard output chdir : Change working directory chgrp : Change the group ownership of files chkconfig […]

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      […]