lsb_release -a
sudo hostnamectl set-hostname myserver.sangiorgiosystems.net
sudo nano /etc/netplan/00-installer-config.yaml
sudo netplan apply
Your file in /etc/netplan may have a different name
sudo nmcli connection down en0 && sudo nmcli connection up en0
find /home/user -type f -mmin -15
tar -zcvf MYTARGZIP.tar.gz *.*
To unzip a gzipped tar file to a specific directory, run this command:
tar xvf FILENAME.tar.gz -C /opt/myCoolDirectory
sudo mount -av
:%s/search_string/replacement_string/g
To search and replace a string recursively in a directory, use the following command:
fgrep --exclude='.svn' -rIl 'CMNDB' * | xargs sed -i -e 's/CMNDB/CMNDBC/g'