How To Patch and Protect Linux Kernel Zero Day Vulnerability CVE-2016-0728

The Linux kernel vulnerability CVE-2016-0728 is a race condition that can allow a local attacker to escalate their privileges and gain root access to the system. The vulnerability affects Linux kernels versions 3.8 and above. To patch this vulnerability, you should update your Linux kernel to a version that includes the fix. Here’s how you … Read more

Hello World Bash Shell Script

Here’s an example of a simple “Hello World” bash shell script: #!/bin/bash echo “Hello World” To run the script, save it to a file with a .sh extension, make the file executable using the chmod command, and then run the file. For example, to save the script to a file named hello.sh, you would run … Read more

How to install KVM on Ubuntu 14.04 LTS Headless Server

To install KVM on an Ubuntu 14.04 LTS headless server, follow these steps: Install the required packages: sudo apt-get update sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils Add your user to the kvm group: sudo adduser <username> kvm Replace <username> with your actual username. Verify that KVM is installed and functioning properly: sudo virsh list … Read more

Ubuntu Linux Change Hostname (computer name)

To change the hostname (computer name) on Ubuntu Linux, follow these steps: Temporarily change the hostname: You can temporarily change the hostname by using the following command: sudo hostname <new-hostname> Replace <new-hostname> with the desired hostname. This change will only persist until the next reboot. Permanently change the hostname: To change the hostname permanently, you … Read more

macOS install Amazon AWS command-line interface (CLI) tool

To install the Amazon AWS Command Line Interface (CLI) tool on macOS, follow these steps: Install Homebrew: /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)” Install the AWS CLI: brew install awscli Verify the installation: To verify that the AWS CLI has been installed correctly, you can run the following command: aws –version This will display the version … Read more