2006-12-23

如何顯示 UBUNTU 的版本資訊

在 UBUNTU 下要顯示版本資訊的方法,一般都是使用:

# cat /etc/issue

這個方法,不過一則顯示的資料怪怪的(請參考附圖),二來顯示的內容也不夠多。

其實還有以下方式(輸出請參考截圖):

# cat /etc/lsb-release

或是直接使用 lsb_release 這個指令

# lsb_release -a

figure 1


這樣顯示的內容是否齊全多了。

參考資料:

man lsb_release
lsb_release -h
http://www.ubuntugeek.com/find-which-ubuntu-linux-version-you-are-running.html

沒有留言 :

張貼留言