Sunday, October 17
Shadow

Linux

Upgrade Ubuntu 20.04 to Ubuntu 20.10

Upgrade Ubuntu 20.04 to Ubuntu 20.10

Linux
Step 1: Log in to the system, and switch to root user using the below command. $ sudo su - Enter the password: Step 2: Update and upgrade your Ubuntu 20.04 system For root user # apt update # apt upgrade # apt dist-upgrade For other users $ sudo apt update $ sudo apt upgrade $ sudo apt dist-upgrade Step 3: Run autoremove command to remove all no longer required packages # apt autoremove Step 4: Configure release-upgrades file Configure the release-upgrades file which is located under /etc/update-manager location. # vi /etc/update-manager/release-upgrades Make sure that Prompt variable is set to normal. Step 5: Begin the Ubuntu 20.10 upgrade process Run the do-release-upgrade command to start the process.It will start extrac...
Linux Files Basics

Linux Files Basics

Linux
Everything in Linux is a file. A file is a sequence of bytes. A byte is 8 bits long. The Linux system does not impose any structure or meaning on a file. It fully depends on the program that interprets the file. To learn more about files, let's create one. I created a file name sample.txt using vi editors. The file contains two lines. To see the file on the terminal, use the cat command followed by the file name. Sample.txt is a file with 73 bytes. 73 bytes means there are 73 characters in the file including spaces and periods. To check the size of the Linux files with the permissions and owner, use the ls -l command followed by the file name. The command od (octal dump) provides you a visible representation of all the bytes of a file. If you append an option i.e. ...
Install Ubuntu GUI on Windows within WSL2

Install Ubuntu GUI on Windows within WSL2

Linux
Prerequisites for WSL2 To run WSL2 on Windows 10, your x64 window system needs to be on version 1903 or higher, with build 18362 or higher. Version 2004 or higher with build 19041 or higher is required for ARM64 systems.To check your version and build number, press Windows logo + R, type winver, and click OK.If you do not have the required version, just update your windows. Install Windows Subsystem for Linux Using PowerShell (WSL2) Open Windows PowerShell as Administrator.Run command to enable WSL feature : dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart Run command to enable Virtual Machine feature : dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart Enable-WindowsOptionalFeature ...
Linux user environment (The Shell)

Linux user environment (The Shell)

Linux
1. Log in to CLI When a user logs in to the system and accesses the CLI, an environment provided by the system to the user to perform different tasks, it is called 'Shell'. If you log in using the CLI utility, the system prints the prompt '#' or '$' along with the username and hostname. The difference between the two prompts is, '#' is for superuser i.e. root. '$' is for the rest of the users. For ordinary users For user root You type commands that get executed, it is not the doing of the kernel, but, a command interpreter i.e. shell.Shell is just a program of Linux, with some additional features.There are few benefits of having a shell between you and the kernel. Like filename shorthand, input-output direction, and personalizing the environment. 2. Filename shortha...
CentOS 8 GUI tour with screenshots

CentOS 8 GUI tour with screenshots

Linux
In the previous post, I have shown you how to install CentOS 8. Here I am, again, this time with a post on CentOS 8 GUI tour. Let's get this party started, just switch on your system and follow my instructions and screenshots. 1. Login page of CentOS 8 GUI You will get a login page with all the created users listed.During the installation, we have created a user 'Linux Hawks' and you can select the same.This whole section will be covering in 'Classic (X11 display server)' mode. Once you select the user, it will ask you for the password. Enter the password and click on 'Sign In'. 2. Welcome Page A 'Welcome' page will appear on the screen if the user is log in the first time in the system.By default 'English' is select, you can change the language as per your requirem...
error

Enjoy this blog? Please spread the word :)