http://www.cyberciti.biz/faq/howto-find-out-what-kernel-version-running/
$ uname -mrsn
There is no cross-distribution way. However:
Etc. Generally speaking, check for
- Redhat and friends: Test for /etc/redhat-release, check contents
- Debian: Test for /etc/debian_version, check contents
- Mandriva and friends: Test for /etc/version, check contents
- Slackware: Test for /etc/slackware-version, check contents
/etc/*-release
and /etc/*-version
./************END*****************/
No comments:
Post a Comment