軟件是對質量的不懈追求

          How to check Linux distribution and version?

          If u are on an unknown server and keen to know it’s linux distribution info, you can check the linux distribution info by just a single command (eg. version, codename, etc). Just tested this command in UBuntu and CentOS, both return as what i expected. :)

          To check linux distribution and version, follow the steps below:-

          • Start your terminal and enter the command below to show your the linux distribution info:-
            $ cat /etc/*-release
          • Here’s my result in one of my my Ubuntu box:-
            $ cat /etc/*-release
            DISTRIB_ID=Ubuntu
            DISTRIB_RELEASE=9.10
            DISTRIB_CODENAME=karmic
            DISTRIB_DESCRIPTION="Ubuntu 9.10"

            Cool right!

          posted on 2010-05-08 13:29 BlakeSu 閱讀(685) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 白水县| 丹江口市| 洪湖市| 米林县| 天峨县| 佛冈县| 嘉祥县| 襄汾县| 崇义县| 沈丘县| 皋兰县| 两当县| 重庆市| 尖扎县| 泸州市| 长葛市| 新建县| 鄂托克前旗| 宁都县| 建平县| 军事| 邵东县| 通州市| 博湖县| 阳信县| 莲花县| 罗城| 罗山县| 昭苏县| 洪洞县| 神农架林区| 高台县| 乌拉特中旗| 嘉峪关市| 博野县| 东乡县| 日照市| 南汇区| 鄂伦春自治旗| 宣恩县| 巴东县|