linux命令:查看系统版本

debian系统

(1)  lsb_release -a  

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.8 (wheezy)
Release:        7.8
Codename:       wheezy


(2)  uname -a  

Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux



(3)  cat /proc/version  

Linux version 3.2.0-4-amd64 ([email protected]) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.68-1+deb7u1



(4)  cat /etc/issue  

Debian GNU/Linux 7 \n \l

猜你喜欢

转载自www.cnblogs.com/saysmy/p/9266910.html