Original URL: http://www.shangxueba.com/jingyan/121649.html
View Ubuntu version number
Method One:
Cat/etc/issue
return Result:
Ubuntu 6.06.2 LTS \ \l
Method Two:
sudo lsb_release-a
return Result:
No LSB modules is available.
Distributor Id:ubuntu
Description:ubuntu 6.06.2 LTS
release:6.06
Codename:dapper
Method Three:
Cat/etc/lsb-release
return Result:
Distrib_id=ubuntu
distrib_release=6.06
Distrib_codename=dapper
distrib_description= "Ubuntu 6.06.2 LTS"
Method Four:
Cat/proc/version
return Result:
Linux version 2.6.15-51-386 ([email protected]) (GCC version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Tue Oct 23 21:42:16 UTC 2007
Method Five:
Uname-a
return Result:
Linux jpsiteserver 2.6.15-51-386 #1 PREEMPT Tue Oct 21:42:16 UTC i686 gnu/linux
Method Six: Just look at the kernel version
Uname-r
return Result:
2.6.15-51-386
1. View Kernel Version command:
1) cat/proc/version
2) uname-a
3) Uname-r
2. View the release version command
1) lsb_release-a
2) Usethe command to find the issue file release file in the/etc directory
"Go" Linux (Ubuntu) system view version and kernel information