雑記まみむメモ

雑記、メモ、技法、話題の騒動などを紹介します。

CentOSのバージョン確認方法

CentOSのバージョン確認方法です。

確認方法は下記のコマンドで分かります。 cat /etc/redhat-release cat /etc/issue lsb_release -a (パッケージのインストールが必要:yum install redhat-lsb)

CentOS 6.5の場合

cat /etc/redhat-release

CentOS release 6.5 (Final)

cat /etc/issue

CentOS release 6.5 (Final)
Kernel \r on an \m

lsb_release -a

LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 6.5 (Final)
Release:        6.5
Codename:       Final