[CentOS] Commands to Check Version and 32bit/64bit Architecture
I’ll introduce commands to check CentOS version and whether it’s 32bit or 64bit.
Command to check CentOS version
cat /etc/redhat-release
CentOS release 6.4 (Final)
Command to check architecture (32bit, 64bit)
arch
# For 64bit
X86_64
# For 32bit
i686
That’s all from the Gemba.