Uname is the Linux command used to display the current operating system name

Source: Internet
Author: User

Uname is the Linux command used to display the current operating system name


Parameters
-A View all information

-S Displays the Linux kernel name

-N Display host name

-r Display Kernel version number

-V shows the operating system is the first version

-m display the host's hardware (CPU) name

-O Display Operating system name


Example:

-A

[Email protected] ~]# uname-a

Linux wuxiujian20150915 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 04:27:16 UTC x86_64 x86_64 x86_64 gnu/linux

[Email protected] ~]#

-S

[Email protected] ~]# uname-s

Linux

[Email protected] ~]#

-N

[Email protected] ~]# uname-n

wuxiujian20150915

[Email protected] ~]#

-R

[Email protected] ~]# uname-r

2.6.32-504.el6.x86_64

[Email protected] ~]#

-V

[Email protected] ~]# uname-v

#1 SMP Wed Oct 04:27:16 UTC 2014

[Email protected] ~]#

-M

[Email protected] ~]# uname-m

x86_64

[Email protected] ~]#

-O

[Email protected] ~]# Uname-o

Gnu/linux

[Email protected] ~]#


This article from "Flat Light is true" blog, please be sure to keep this source http://wuxiujian.blog.51cto.com/10583235/1691711

Uname is the Linux command used to display the current operating system name

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.