티스토리 뷰

레드햇 계열인 경우 : /etc/redhat-release
일반 Linux 계열 : /etc/issue, /proc/version
lsb를 지원하는 경우 : lsb_release -a

debian
/etc/debian_release, /etc/debian_version

red hat
/etc/redhat-release, /etc/redhat_version

fedora core
/etc/fedora-release

gentoo
/etc/gentoo-release

suse
/etc/SuSE-release

mandrake
/etc/mandrake-release

slackware
/etc/slackware-release, /etc/slackware-version

yellow dog
/etc/yellowdog-release

sun JDS
/etc/sun-release

solaris/Sparc
/etc/release