Back

queryDistro.sh

Size: 1.7 kBCreated: 2009-12-31 14:40Modified: 2014-05-15 22:31Downloaded: 4 642x
Kleines Script welches die Distribution des Linux herausfindet.
 
Small script which detects the Linux distribution.
 
Tested on following distributions but will work also on other distributions:
 
# opensuse              openSuSE 11.0 (no lsb_release) and 11.2 (lsb_release)
# fedora                Fedora 12
# centos                CentOS 5.4
# kubuntu               Kubuntu 9.10
# debian                Debian 5.0.3
# arch                  Arch
# slackware             Slackware 13.0.0.0.0
# mandriva              Mandriva 2009.1
# debian                  Knoppix
# linuxmint                Mint 8
 
See comment in source code for more tested distributions