Written by gerard on Saturday 25 April 2009
Because Ubuntu is a free operating system, they don't feel the need to shove the version in your face in quite the same way their commercial counterparts do. So, when you're on the threshold of doing an upgrade, it's nice to know what version you're upgrading from.
There's a quick, command based way to discover what version of Ubuntu you're using:
<?phpcat /etc/issue?>
Alternatively, for a more detailed output, try this command:
<?phpcat /etc/lsb-release?>
This will return the version of Ubuntu that you're currently using. I used it prior to upgrading, and also after the upgrade to verify that everything had been successful.
Comments
You might want to try the
You might want to try the command
<?phplsb_release -a?>. On my system it shows the following info:No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
Post new comment