This script is created for my brother as he wanted to print the only values which are different from each other in both files but only in 3rd Column.
In this, the first column contains a unique id.
#!/bin/bash
awk -F "," '{print $1}' yash > yashids
for n in `cat yashids`
do
ID=`grep $n net | awk -F "," '{print $3}'`
ID2=`grep $n yash | awk -F "," '{print $3}'`
if [ "$ID" != "$ID2" ]
then
grep $n net yash
fi
done
Tags:-
Gagandeep Gagan Gagandeep920d...

This is for CentOS 7 Only 1. BMR (Bare Metal Restore) Steps:- Create KVM machine with the same config as DO has and perform BMR, after BMR, Reboot the server. 2. Post-BMR steps:- After booting the machine if you see Grub issue then fix it by following the below guide. a.How to Fix the Grub Issue OR watch video - Mount CentOS 7 ISO and Boot the machine
- At the boot screen, Select the Troubleshooting > Rescue a CentOS Linux system > choose Continue (1)
- Run these commands :-
chroot /mnt/sysimage
grub2-install /dev/vda # may be sda OR xvda
- Remove ISO, Reboot server. 3. Change the IP Address:- Take Console and edit file /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0
IPADDR=221.145.x.x
NETMASK=255.255.x.x
BOOTPRO

Error:-
adobe-flashplugin is not available
Solution:-
sudo apt install browser-plugin-freshplayer-pepperflash
sudo apt install adobe-flashplugin
sudo apt install ubuntu-restricted-extras
sudo apt install flashplugin-installer
sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
sudo apt update
sudo apt install adobe-flashplugin browser-plugin-freshplayer-pepperflash
Comment:-
I was struggling with the same then in the process of troubleshooting, i ran above commands and it was installed, Basically for me it was the only archive.canonical.com repo which had the package.

Error:-
[email protected]:~# certbot-auto certonly -d the-d2.com -d www.the-d2.com --webroot "/home/the-d2/public_html"
usage:
certbot-auto [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.
certbot: error: unrecognized arguments: /home/the-d2/public_html
Solution:-
certbot-auto certonly -d the-d2.com -d www.the-d2.com --webroot --webroot-path "/home/the-d2/public_html" The issue was, i was missing the flag --webroot-path , but if you will run certbot-auto --help, you will not find any reference to that flag.