Linux:查看系统版本

来自WHY42
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 #