uname -an : 상세한 버전 정보까지는 안 나옴
(ex > Linux hostname 3.8.13-118.55.1.el7uek.x86_64 #2 SMP Tue Feb 23 22:21:17 PST 2021 x86_64 x86_64 x86_64 GNU/Linux)
cat /etc/*release* : 리눅스 마이너 정보까지 알 수 있음
(ex > Oracle Linux Server release 7.9
NAME="Oracle Linux Server"
VERSION="7.9"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.9"
PRETTY_NAME="Oracle Linux Server 7.9"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:7:9:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"
ORACLE_BUGZILLA_PRODUCT_VERSION=7.9
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=7.9
Red Hat Enterprise Linux Server release 7.9 (Maipo)
Oracle Linux Server release 7.9
cpe:/o:oracle:linux:7:9:server)
'Linux & Windows' 카테고리의 다른 글
date가 안 맞는 경우 (0) | 2022.01.20 |
---|---|
sed 명령어 사용 시 경로 변경하고 싶을 때 (0) | 2022.01.04 |
Windows에서 zip 파일 압축 해제 시 실패 파일이 있다면 (0) | 2021.12.22 |
Linux JAVA 설치 경로 변경하는 방법 (0) | 2021.12.17 |
hostname 대,소문자 구분 법 (0) | 2021.12.10 |