Back

queryDistro.sh

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