Ubuntu 20.04 LTS change hostname permanently

To change the hostname of an Ubuntu 20.04 LTS system permanently, you can use the hostnamectl command. Here are the steps to change the hostname: Open a terminal window and run the command hostnamectl set-hostname new-hostname replacing “new-hostname” with the desired hostname. Verify the new hostname by running the command hostnamectl. To make the change … Read more

Ubuntu Install Tinc and Set Up a Basic VPN

Tinc is a Virtual Private Network (VPN) daemon that can be used to create a secure network between multiple hosts. Here are the steps to install Tinc and set up a basic VPN on Ubuntu: Install Tinc by running the command sudo apt install tinc Create a directory for Tinc’s configuration files by running the … Read more

How to Undo in Vim / Vi text editor

To update the firmware on a Lenovo ThinkPad X1 Extreme or P1 Gen 2 on Linux, you can use the fwupd tool. Here are the steps to update the firmware: Install the fwupd package on your Linux system, if it’s not already installed. On Ubuntu or Debian, you can install it with: sudo apt-get install … Read more