Ever jumped onto an Ubuntu server somewhere without knowing which operating system version it’s running? You can find this out with one simple command:
lsb_release -a
This will provide output like:
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic