廣告

2024 年 3 月
 123
45678910
11121314151617
18192021222324
25262728293031

彙整

用指令獲得linux的版本信息

看了討論區得到下面的指令:

uname -a
more /proc/version
dmesg | grep ‘ Linux version’
cat /etc/issue

Linux有很多種版本,其實我想知道的是目倒底是 Fedora?還是FreeBSD?還是……………

  • Red Hat: http://www.redhat.com
  • Fedora: http://fedoraproject.org/
  • Mandriva: http://www.mandriva.com
  • Novell SuSE: http://www.novell.com/linux/
  • Debian: http://www.debian.org/
  • Slackware: http://www.slackware.com/
  • Gentoo: http://www.gentoo.org/
  • Ubuntu: http://www.ubuntu.com/
  • CentOS: http://www.centos.org/

    結果我想要的指令解答就是 cat /etc/issue

    顯示出我目前安裝的Linux是:

    [root@mail ~]# cat /etc/issue
    CentOS release 5.3 (Final)
    Kernel \r on an \m

    沒錯,就是CentOS 5.3版,不是紅帽,也不是Fedora…………..

  • 讀者也會看的其它文章:

      You must be logged in to post a comment.