Could someone tell me how to check the OS version in Linux using the command line?
Linux is an open-source and free OS that has many variants referred to as Linux distributions. You could check the OS version in Linux in the simple 4 steps mentioned below:
Open a Linux terminal most commonly is Bash Shell.
Then type any of these three command-lines in it to determine the OS name and version in Linux:
And you could determine the OS version and name from the output of the command.
Wishing to learn Linux and get yourself certified? Then check out the Linux training course from Intellipaat which offers you a self-paced video course of 16hrs combined with 32hrs of projects and exercises to help you obtain the required hands-on experience.
On this note, I would suggest you watch the Linux Commands Tutorial for Beginners video from our experts to help you get started.