How to Check the Current Version of Ubuntu from the Command Line
Topic: Ubuntu / LinuxPrev|Next
Answer: Use the lsb_release
Command
You can simply use the lsb_release
command to check the version of Ubuntu you are running.
lsb_release -a
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.
cat /etc/*release
Related FAQ
Here are some more FAQ related to this topic: