軟件是對質量的不懈追求

          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)  編輯  收藏


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


          網站導航:
           
          主站蜘蛛池模板: 祁东县| 延边| 潍坊市| 石景山区| 梁山县| 宾阳县| 奉化市| 长白| 祁门县| 米易县| 岳普湖县| 江源县| 仙桃市| 合山市| 梁平县| 简阳市| 乌兰县| 永登县| 南华县| 镇赉县| 淳安县| 西峡县| 清丰县| 九江市| 赣榆县| 太谷县| 白朗县| 江北区| 呼伦贝尔市| 石楼县| 贵州省| 高阳县| 望城县| 嘉义市| 德庆县| 辛集市| 阿拉善左旗| 葵青区| 河东区| 闵行区| 东源县|