Linux uname command details how to use Linux uname command

Source: Internet
Author: User

Uname: displays information about the computer and operating system.

Syntax

Uname [-amnclr] [-- help] [-- version]

Parameter description:

  • -A or -- all displays all information.
  • -M or -- machine displays the computer type.
  • -N or-nodename indicates the host name displayed on the network.
  • -R or -- release displays the release number of the operating system.
  • -S or -- sysname: displays the operating system name.
  • -V: displays the version of the operating system.
  • -- Help: displays help.
  • -- Version: displays the version information.

Instance

Display System Information

# Uname-

Linux snail il-hnlinux 2.6.32-21-generic # 32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686

GNU/Linux

Display computer type

# Uname-m

I686

Show computer name

# Uname-n

Snail -hnlinux

Display operating system release number

# Uname-r

2.6.32-21-generic

Show operating system name

# Uname-s

Linux

Show system time

# Uname-v

# 32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2014

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.