1. login to your linux-box
  2. enter the command i.e.:  cat /etc/redhat-release
    (outputs i.e. #Red Hat Enterprise Linux Server release 5)

This will display the rehat version you are using. Similar is for other linux-boxes like i.e. using slackware-version instead would show the version of Slackware Linux.