grep . /etc/*-release
cat /etc/*-release | uniq
grep . /etc/issue*
rpm -qa *-release
uname -r
cat /proc/version
[root@localhost /]# grep . /etc/*-release
/etc/centos-release:CentOS release 6.8 (Final)
/etc/redhat-release:CentOS release 6.8 (Final)
/etc/system-release:CentOS release 6.8 (Final)
[root@localhost /]# cat /etc/*-release | uniq
CentOS release 6.8 (Final)
[root@localhost /]# grep . /etc/issue*
/etc/issue:CentOS release 6.8 (Final)
/etc/issue:Kernel \r on an \m
/etc/issue.net:CentOS release 6.8 (Final)
/etc/issue.net:Kernel \r on an \m
[root@localhost /]# rpm -qa *-release
centos-release-6-8.el6.centos.12.3.i686
[root@localhost /]# uname -r
2.6.32-642.el6.i686
[root@localhost /]# cat /proc/version
Linux version 2.6.32-642.el6.i686 (mockbuild@worker1.bsys.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1 SMP Tue May 10 16:13:51 UTC 2016
'개발 > 서버' 카테고리의 다른 글
virtualbox Centos5.5 설치시 문제점 (0) | 2016.10.22 |
---|---|
리눅스 비트 확인 (0) | 2016.10.22 |
터미널 DHCP에서 IP로변경 (0) | 2015.09.20 |
linux netinstall (0) | 2015.09.19 |
리눅스 커널 코어 덤프 분석 (0) | 2015.09.10 |