# 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
沒有留言 :
張貼留言