Linux 系統如何查看版本資訊__Linux

來源:互聯網
上載者:User

在windows下我們查看系統資訊直接右擊電腦屬性就可以查看了.那麼在Linux系統中如何查看呢.下面給大家介紹幾種查看的方式


輸入"uname -a ",可顯示電腦以及作業系統的相關資訊。

Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 athlon i386 GNU/Linux

輸入"cat /proc/version",說明正在啟動並執行核心版本。

Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com)(gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003

輸入"cat /etc/issue", 顯示的是發行版本資訊

Red Hat Linux release 9 (Shrike)

輸入“cat /proc/cpuinfo”, 顯示 cpu 相關資訊,包括型號、主頻、核心資訊等

processor        : 0vendor_id        : AuthenticAMDcpu family       : 15model            : 1model name       : AMD A4-3300M APU with Radeon(tm) HD Graphicsstepping         : 0cpu MHz          : 1896.236cache size       : 1024 KBfdiv_bug         : nohlt_bug          : nof00f_bug         : nocoma_bug         : nofpu              : yesfpu_exception    : yescpuid level      : 6wp               : yesflags            : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr                   sse sse2 syscall mmxext lm 3dnowext 3dnowbogomips         : 3774.87

lsb_release -a (適用於所有的linux,包括Redhat、SuSE、Debian等發行版,但是在debian下要安裝lsb)

如果不知道命令的意思.可以通過 "man 命令"可以查看它的使用方式.及詳細資料.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.