Linux查看具體版本號

Linux查看具體版本號

共3個命令:

uname-a

[admin@devMachine099 ~]$ uname -a
Linux devMachine099 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
You have mail in /var/spool/mail/admin
[admin@devMachine099 ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 52:54:00:3C:1A:0C
inet addr:192.168.1.256 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fe3c:1a0c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:238280625 errors:0 dropped:0 overruns:0 frame:0
TX packets:275735424 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:33821257025 (31.4 GiB) TX bytes:48149177772 (44.8 GiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:660055 errors:0 dropped:0 overruns:0 frame:0
TX packets:660055 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:72324160 (68.9 MiB) TX bytes:72324160 (68.9 MiB)

virbr0 Link encap:Ethernet HWaddr 52:54:00:B8:AA:B1
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

uname

[admin@devMachine099 ~]$ uname
Linux

cat /proc/version

[admin@devMachine099 ~]$ cat /proc/version
Linux version 2.6.32-358.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 00:31:26 UTC 2013

uname -r

[admin@devMachine099 ~]$ uname -r
2.6.32-358.el6.x86_64

lsb_release -a

[admin@devMachine099 ~]$ lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.4 (Final)
Release: 6.4
Codename: Final
You have mail in /var/spool/mail/admin

cat /etc/issue

admin@localhost rstudio$ cat /etc/issue
CentOS release 6.6 (Final)
Kernel \r on an \m

-end-

More from my site

好烂啊有点差凑合看看还不错很精彩 (No Ratings Yet)
Loading...
95 views

发表评论

电子邮件地址不会被公开。 必填项已用*标注

跳至工具栏