In this quick guide, we will be showing you how to save and exit out of the Nano text editor. The Nano text editor is one of our personal favorites for quickly editing files within the terminal. It is fairly si
How to Save Files in Vi/Vim Editor Once you have modified a file, press[Esc]shift to theCommandmode and press:w(save and continue editing) and hit[Enter]as shown below. Save File in Vim To save the file and exit at the same time, you can use theESCand:xkeys and hit[Enter]. Op...
InUbuntu 24.04and newer, you can use the built-inDisksutility to create a bootable live USB automatically. However, many systems still use the older Startup Disk Creator tool. The following steps explain how to use it to create a bootable USB on Ubuntu: 1. Insert a USB stick into an av...
Nginx on Ubuntu has one server block enabled by default that is configured to serve documents out of a directory at/var/www/html. While this works well for a single site, it can become unwieldy if you are hosting multiple sites. Instead of modifying/var/www/html, let’s create a directo...
Open the/etc/pam.d/gdm-passwordfile, add the hash (#) sign to the following line, and save the file. auth required pam_succeed_if.so user !=root quiet_success To apply these changes, we have to restart the system. After restart, log in from the root account. ...
Exit bashrc by pressingCtrl+Xand typingYwhen prompted to save the changes. How to delete environment variables in Ubuntu? Finally, there are times when you may want to delete some previously-set environment variables from Ubuntu. To do so, ...
Now you can edit and make changes in the config file using nano editor. Once you have done editing, pressCtrl+Oto save andCtrl+Xto exit the Editor. Using Vim Editor Vim or Vi editor also comes pre-installed with most Linux distributions. It has no visible prompts or control that can be...
Change the boot order to boot from USB The entire idea is that you put USB (or removable media) on the top of the boot order. Save the changes and exit. Step 4: Install Ubuntu Now you should boot into the live Ubuntu environment. You'll have the grub screen that gives you the opti...
How to compile kernel in ubuntu 20.04 STEP 1: FIRST TYPE IN TERMINAL : sudo nano /etc/default/grub where nano is your TEXT editor STEP2: INCREASE GRUB_TIMEOUT TO 10 WHICH DETERMINES YOUR BOOTING TIME press ctrl+o and enter to save the file and then ctrl+x to exit....
For reference, you can check our Ubuntu 16.04 LAMP stack guide to understand the differences in installation steps. In order to complete this tutorial, you will need to have a server running Ubuntu, along with a non-root user with sudo privileges and an active firewall. For guidance on ...