Possible Duplicate:
How can I get distribution name and version number in a simple shell script?
Given a shell, how can I identify the variant of Unix/Linux that is running on a remote server?
Given a shell, how can I identify the variant of Unix/Linux that is running on a remote server? |
|||
|
|
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
|
you can also do cat /etc/*-release to see info about the distribution version and name.
Source: linuxg.net |
|||
|
|
You can try :
Maybe not all distro have this file. |
|||||
|