軟件是對質量的不懈追求

          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 閱讀(689) 評論(0)  編輯  收藏


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


          網站導航:
           
          主站蜘蛛池模板: 托里县| 库车县| 阿荣旗| 乡城县| 恩施市| 兰州市| 浠水县| 九龙县| 钟祥市| 科技| 凉城县| 宁都县| 石城县| 滨州市| 偏关县| 浦东新区| 九江市| 龙口市| 明光市| 繁昌县| 政和县| 珲春市| 饶河县| 宁河县| 莲花县| 贡山| 徐闻县| 黄山市| 大方县| 儋州市| 新龙县| 余姚市| 永胜县| 黄山市| 江永县| 阿拉善左旗| 康马县| 石城县| 永城市| 海阳市| 虹口区|