Bash : print variable value inside single and double quotes

Bash : print variable value inside single and double quotes

In this post we will learn, how to print variable value inside single and double quotes. Today I was working on some bash scripting and got this requirement. The script is working wonderfully and as expecting output was also coming. Today we will share this basic bash scripting. Explaining step by step , which gives…

CentOS 7 / RHEL 7 : Reset / Recover forgotten root password

CentOS 7 / RHEL 7 : Reset / Recover forgotten root password

In this post we will learn, how to reset / recover forgotten root password on CentOS 7 / RHEL 7 (Red Hat Enterprise Linux 7). On RHEL 5/6 or CentOS 5/6 series , the method of resetting forgotten root password was same. In latest RHEL 7 / CentOS 7 this time we have found some difference in steps to reset the forgotten root password.

Unable to complete install:’unsupported configuration hda-duplex not supported in this Qemu binary’

Unable to complete install:’unsupported configuration hda-duplex not supported in this Qemu binary’

While creating first virtual machine in KVM on Ubuntu 14.04 got Error : Unable to complete install:’unsupported configuration hda-duplex not supported in this Qemu binary’. Note: It was my fresh installation of KVM on Ubuntu 14.04 LTS. Solution : Restart libvirt-bin. sudo stop libvirt-bin sudo start libvirt-bin Reopen the virt-manager. I hope the problem is…

VirtualBox Guest Additions

Install VirtualBox Guest Additions and create videos

VirtualBox Guest Additions consist of device drivers and system applications that optimize the guest operating system for better performance and usability. To create videos on VirtualBox actually you must also require VirtualBox Guest Additions. I installed VirtualBox Guest Additions on my system so that I can create videos from VirtualBox. If you are surprising ,…

Install MariaDB Server 10 on CentOS 7 and RHEL 7 by using yum

Install MariaDB Server 10 on CentOS 7 and RHEL 7 by using yum

In this post we will how to install MariaDB Server 10.4.7 version on CentOS 7 and RHEL 7 (Red Hat Enterprise Linux 7 ) by using yum command. We are doing fresh installation of MariaDB Server on minimal installed CentOS 7 version. The method is applicable to RHEL 7 as well. While installing MariaDB 10…

netstat command not found on CentOS 7 and RHEL 7 (Red Hat Enterprise Linux 7)

netstat command not found on CentOS 7 and RHEL 7 (Red Hat Enterprise Linux 7)

We have observed many new changes on Red Hat Enterprise Linux and CentOS 7 . With the previous RHEL and CentOS version, netstat command was available even in minimal installation. On CentOS 7 and RHEL 7, on doing minimal installation we have not found netstat command. To get the netstat command on RHEL 7 and…

Bash Code Injection Vulnerability via Specially Crafted Environment Variables

Bash Code Injection Vulnerability via Specially Crafted Environment Variables

Bash Code Injection Vulnerability via Specially Crafted Environment Variables (CVE-2014-6271 (aka Shellshock ), CVE-2014-7169). This is one the most vulnerable bug we have seen in Linux at current time. Due to this bug, we are seeing lots of business impact in entire world. Details of CVE-2014-6271 A flaw was found in the way Bash evaluated…