1. 程式人生 > >linux/核心/gcc/make版本和系統位數 查詢命令

linux/核心/gcc/make版本和系統位數 查詢命令

1 檢視linux版本
lsb_release -a    適合用所有的linux版本 Ubuntu Redhat Debian 
rpm -q redhead-release     適用Redhat

cat /etc/issue

2. 檢視核心版本
cat /proc/version

uname -a   檢視uname所有引數,uname --help

3. 檢視系統位數
getconf WORD_BIT
file /bin/bash

4. 檢視 gcc 版本
gcc --version 
gcc -v
rpm -q gcc


5. 檢視 make 版本
make -v