Linux:查看系统版本:修订间差异
imported>Riguz 创建页面,内容为“<source lang="bash"> cat /etc/issue cat /etc/*release uname -a </source> Category:Linux/Unix” |
imported>Riguz 无编辑摘要 |
||
第5行: | 第5行: | ||
</source> | </source> | ||
<pre> | |||
/app # cat /etc/issue | |||
Welcome to Alpine Linux 3.6 | |||
Kernel \r on an \m (\l) | |||
/app # cat /etc/*release | |||
3.6.2 | |||
NAME="Alpine Linux" | |||
ID=alpine | |||
VERSION_ID=3.6.2 | |||
PRETTY_NAME="Alpine Linux v3.6" | |||
HOME_URL="http://alpinelinux.org" | |||
BUG_REPORT_URL="http://bugs.alpinelinux.org" | |||
/app # uname -r | |||
4.4.49-92.11-default | |||
/app # uname -a | |||
Linux 897b3aad06d4 4.4.49-92.11-default #1 SMP Fri Feb 17 08:29:30 UTC 2017 (8f9 | |||
478a) x86_64 Linux | |||
/app # | |||
</pre> | |||
[[Category:Linux/Unix]] | [[Category:Linux/Unix]] |
2018年1月24日 (三) 04:44的最新版本
cat /etc/issue
cat /etc/*release
uname -a
/app # cat /etc/issue Welcome to Alpine Linux 3.6 Kernel \r on an \m (\l) /app # cat /etc/*release 3.6.2 NAME="Alpine Linux" ID=alpine VERSION_ID=3.6.2 PRETTY_NAME="Alpine Linux v3.6" HOME_URL="http://alpinelinux.org" BUG_REPORT_URL="http://bugs.alpinelinux.org" /app # uname -r 4.4.49-92.11-default /app # uname -a Linux 897b3aad06d4 4.4.49-92.11-default #1 SMP Fri Feb 17 08:29:30 UTC 2017 (8f9 478a) x86_64 Linux /app #