How to Check the Current Version of Ubuntu from the Command Line
Topic: Ubuntu / LinuxPrev|Next
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:
- How to shut down or reboot Ubuntu from terminal
- How to install updates via command line on Ubuntu
- How to get a list of all installed packages on Ubuntu