Possible Duplicate:Bash: Get Distribution Name and Version Number Given (root) access to a machine with Linux through the command line(over ssh), how can I determine which distribution is actually running on the system?
How to determine distribution from command line?
linux;distros