개발 모음집/Linux
리눅스 종류 및 버전 확인 명령어
wonos
2019. 8. 23. 00:54
일반적인 커널에 대한 정보
일반적인 커널에 대한 정보
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-71.el6.x86_64 #1 SMP Fri May 20 03:51:51 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
# OS버전에 대한 정보 1
[root@localhost ~]# cat /etc/issue
CentOS Linux release 6.0 (Final)
Kernel \r on an \m
# OS버전에 대한 정보 2
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 6.0 (Final)
# OS버전에 대한 정보 3
[root@localhost ~]# cat /etc/*release*
CentOS Linux release 6.0 (Final)
CentOS Linux release 6.0 (Final)
CentOS Linux release 6.0 (Final)
cpe:/o:centos:linux:6:GA
# OS bit 확인하기
[root@localhost ~]# getconf LONG_BIT
64
그 외 lsb_release -a 도 있습니다.