执行这个语句:
cat /etc/issue就会显示是哪个发行版本和版本号。
或者可以通过特征文件来确定:
radhat或centos存在:/etc/redhat-release 这个文件 debian或ubuntu 存在 /etc/debian_version 这个文件 Slackware存在 /etc/slackware_version 这个文件
ppt.cc/fVjECx ppt.cc/fEnHsx ppt.cc/fRZTnx ppt.cc/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/fIr1ax ppt.cc/f71Yqx tecmint.com linuxcool.com linux.die.net linux.it.net.cn ostechnix.com unix.com ubuntugeek.com runoob.com man.linuxde.net ppt.cc/fwpCex ppt.cc/fxcLIx ppt.cc/foX6Ux linuxprobe.com linuxtechi.com howtoforge.com linuxstory.org systutorials.com ghacks.net linuxopsys.com ppt.cc/ffAGfx ppt.cc/fJbezx ppt.cc/fNIQDx ppt.cc/fCSllx ppt.cc/fybDVx ppt.cc/fIMQxx ppt.cc/fKlBax
cat /etc/issue就会显示是哪个发行版本和版本号。
radhat或centos存在:/etc/redhat-release 这个文件 debian或ubuntu 存在 /etc/debian_version 这个文件 Slackware存在 /etc/slackware_version 这个文件
No comments:
Post a Comment