j***y 发帖数: 87 | 1 【 以下文字转载自 Linux 讨论区 】
【 原文由 jerry 所发表 】
Hello, all
doesn't anyone have a good way to distinguish different linux releases: say,
Red Hat or SuSE?
Is there a general way for all releases?
Under SuSE, Red Hat, Mandrake, TurboLinux, there is a file /etc/-release,
but it doesn't work to Caldera, and I haven't looked at Slackware and Debian yet.
I also think of use /etc/issue or some similar files like /etc/issue.net /etc/motd
but due to security reason, these files are often modified or even |
|