pkg commands in Solaris 11

You can manage package management in Solaris 11 using “pkg” command which has install, update, search etc. as attributes to manage packages. # pkg list (It will show you all installed packages on server.) NAME (PUBLISHER) VERSION IFO archiver/gnu-tar 1.27.1-0.175.3.0.0.30.0 i– audio/audio-utilities 0.5.11-0.175.3.0.0.30.0 i– codec/flac 1.2.1-0.175.3.0.0.14.0 i– # pkg list | grep -i x11-info-clients (Grep […]

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

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