Ubuntu查看系統的各種版本信息

下面是一些查看當前Linux系統的版本的方法:
注:proc目錄下記錄的當前系統運行的各種數據,version記錄的版本信息可以通過cat查看到。

1. 使用命令:cat /proc/version
這裏寫圖片描述

proc目錄下記錄的當前系統運行的各種數據,version記錄的版本信息可以直接通過cat查看到,還可以看到gcc版本信息。

2. 使用命令:uname -a

這裏寫圖片描述

如上圖顯示自己的內核版本,並且可以查看系統是32位(i386);

$ uname -m 
i386

3. 使用命令:lsb_release -a

這裏寫圖片描述

# lsb_release --help
Usage: lsb_release [options]

Options:
  -h, --help         show this help message and exit
  -v, --version      show LSB modules this system supports
  -i, --id           show distributor ID
  -d, --description  show description of this distribution
  -r, --release      show release number of this distribution
  -c, --codename     show code name of this distribution
  -a, --all          show all of the above information
  -s, --short        show requested information in short format 

4. 使用命令:cat /etc/issue

這裏寫圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章