How to Check the Current Version of Ubuntu from the Command Line
Answer: Use the
You can simply use the
lsb_release command to check the version of Ubuntu you are running.
The above command displays the version of the LSB against which your current installation is compliant, distributor's ID, description, release number, and the code name of the currently installed distribution. Use the command
lsb_release -h to see summary of options.
You can also use the following command to find the version of Ubuntu installed on your system.
Here are some more FAQ related to this topic: