📜  查找 CentOS 版本和架构 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:47.850000             🧑  作者: Mango

代码示例1
$ echo "I am running: `cat /etc/redhat-release` (`arch`)"
I am running: CentOS release 5.8 (Final) (x86_64)