Every time I need to check the current version of Ubuntu, I have to run

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$> lsb_release -a
$> lsb_release -a
$> lsb_release -a

But what if lsb_release is not installed?

The easiest way is to run

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$> cat /etc/*release
$> cat /etc/*release
$> cat /etc/*release

This gives me an output like this!

cat /etc/*release output

Reference