How do I tell which version of Linux is on my server?
There are a number of ways, there is a command line tool `lsb_release` used to check the distribution, and version
1 2 3 4 5 6 | $ lsb_release -a LSB Version: :core-x.x-ia32:core-x.x-noarch:graphics-x.x-ia32 Distributor ID: Fedora Description: Fedora release 14 (Laughlin) Release: 14 Codename: Laughlin |
Unfortunately it is not available on all systems, especially if your system is really out of date. But you can try the following…
1 2 | $ cat /etc/*-release CentOS release 5.4 (Final) |
Or…
1 2 | $ cat /etc/*-version Slackware 11.0.0 |