January 1, 2010

Get the OS version

If you are not sure which *nix based distro you are using, try the following.

cat /etc/redhat-release
cat /etc/debian_version
cat /etc/SuSE-release
cat /etc/slackware-version
cat /etc/gentoo-release

You could also try 'cat /etc/*-release' or 'cat /etc/*-version'.

No comments:

Post a Comment