1.查看Ubuntu版本信息等。
1.1 产看ubuntu版本号
cat /etc/issue //显示 //ubuntu 12.04.3 LTS \n \l
uname -a //显示 //Linux ***-desktop 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 21:38:12 UTC 2013 i686 i686 i386 GNU/Linux
cat /proc/version //显示 //Linux version 3.2.0-57-generic (buildd@lamiak) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #87-Ubuntu SMP Tue Nov 12 21:38:12 UTC 2013
lsb_release -a //显示 //No LSB modules are available. //Distributor ID: Ubuntu //Description: Ubuntu 12.04.3 LTS //Release: 12.04 //Codename: precise
1.2 查看ubuntu是32位还是64位
getconf LONG_BIT //显示 //32