怎么查看linux 当前的版本 位数

file /bin/ls 
 file /sbin/init
  getconf -a | grep WORD
 
 
 
怎么查看当前linux的 版本
 
[root@vps2 ~]# file /bin/ls 
/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped
 
 
 
 
[root@vps2 ~]# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description: CentOS release 5.5 (Final)
Release: 5.5
Codename: Final

你可能感兴趣的:(linux,系统,位数)