I often ssh into my home linux server or my remote Machines. Recently I could not remember what flavor (version) of ubuntu I was running. Since I don’t use the UI on the server I only had the command line to use. I quickly found a way to show what version you are running. I thought it was interesting that there was not a little command that would do this, in my mind it would be “showversion”. However, that command does not exist. If you want to see what version you are running of Ubuntu you issue:
After running the code you are able to see the version under release section.
If you just run the “lsb_release” command you will get a message that states “No LSB modules are available.”. The ‘-a’ flag specifices all options.
There is another command you can run. cat /etc/issue.net This will also give you the version.
To see you version in the gui you can use this link as reference