軟件是對質量的不懈追求

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


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


          網站導航:
           
          主站蜘蛛池模板: 繁昌县| 三明市| 北宁市| 安西县| 宁波市| 从江县| 正阳县| 昭觉县| 延吉市| 郴州市| 永靖县| 香河县| 顺昌县| 孟津县| 美姑县| 吐鲁番市| 琼结县| 澄迈县| 孝昌县| 泰兴市| 西贡区| 宜兴市| 大理市| 博野县| 仲巴县| 福建省| 北宁市| 镇康县| 卫辉市| 望奎县| 隆子县| 武乡县| 竹北市| 乌鲁木齐市| 定兴县| 南陵县| 四川省| 依安县| 寻乌县| 全椒县| 德化县|