CentOS のバージョンや 32bit, 64bit などを確認するコマンドをご紹介します。
CentOS のバージョンを確認するコマンド
cat /etc/redhat-release
CentOS release 6.4 (Final)
アーキテクチャ(32bit, 64bit)を確認するコマンド
arch
# 64bitの場合
X86_64
# 32bitの場合
i686
CentOS のバージョンや 32bit, 64bit などを確認するコマンドをご紹介します。
CentOS のバージョンを確認するコマンド
cat /etc/redhat-release
CentOS release 6.4 (Final)
アーキテクチャ(32bit, 64bit)を確認するコマンド
arch
# 64bitの場合
X86_64
# 32bitの場合
i686