버전확인
1. cat /etc/*release*
[root@localhost~]# cat /etc/*release*
cat: /etc/lsb-release.d: 디렉토리
CentOS release 5.11 (Final)
Derived from Red Hat Enterprise Linux 7.5 (Source) 
NAME="CentOS Linux" 
VERSION="7 (Core)" 
ID="centos" 
ID_LIKE="rhel fedora" 
VERSION_ID="7" 
PRETTY_NAME="CentOS Linux 7 (Core)" 
ANSI_COLOR="0;31" 
CPE_NAME="cpe:/o:centos:centos:7" 
HOME_URL="https://www.centos.org/" 
BUG_REPORT_URL="https://bugs.centos.org/" 
CENTOS_MANTISBT_PROJECT="CentOS-7" 
CENTOS_MANTISBT_PROJECT_VERSION="7" 
REDHAT_SUPPORT_PRODUCT="centos" 
REDHAT_SUPPORT_PRODUCT_VERSION="7" 
CentOS Linux release 7.5.1804 (Core) 
CentOS Linux release 7.5.1804 (Core) 
cpe:/o:centos:centos:7 
2. cat /proc/version
리눅스 커널 버전 확인
[root@localhost ~]# cat /proc/version
Linux version 3.10.0-862.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Fri Apr 20 16:44:24 UTC 2018
비트확인(32bit / 64bit)
1. getconf
[root@localhost ~]# getconf LONG_BIT
32
-> 32 비트
[root@localhost ~]# getconf LONG_BIT
64
-> 63비트
2. arch
[root@localhost ~]# arch
x86_64
-> 64비트
[root@localhost ~]# arch
i686
-> 32비트 (i386도있음)
'OS > Linux' 카테고리의 다른 글
| VMware Linux 복제시 인터넷 MAC 충돌 및 해결방법 (0) | 2022.04.14 | 
|---|---|
| [Linux] tar, gz 압축 및 해제 (0) | 2022.04.05 | 
| [Linux] CentOS 6 - 2020 년 11 월 30 일 수명 종료(yum 사용불가) (0) | 2022.04.04 | 
| [Linux] curl 주요 옵션 (0) | 2022.03.11 | 
| [sendmail] 릴레이 설정 (0) | 2022.03.08 |