English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux uname Command

Linux Command Manual

Linux uname Command (Full English Spelling: unix name) is used to display system information.

The uname command can display relevant information about the computer and the operating system.

Syntax

uname [-amnrsv][--help][--version]

Parameter Description:

  • -a or--all  Display all information.
  • -m or--machine  Display the type of computer.
  • -n or--nodename  Display the host name on the network.
  • -r or--release  Display the release number of the operating system.
  • -s or--sysname  Display the name of the operating system.
  • -v  Display the version of the operating system.
  • --help  Display help.
  • --version  Display version information.

Online Examples

Display System Information:

# uname -a
Linux iZbp19byk2t6khuqj437q6Z 4.11.0-14-generic #20~16.04.1-Ubuntu SMP Wed Aug 9 09:06:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Display Computer Type:

# uname -m
x86_64

Display Computer Name:

# uname -n
w3codebox-linux

Display Operating System Release Number:

# uname -r
4.11.0-14-generic

Display Operating System Name:

# uname -s
Linux

Display System Version and Time:

# uname -v
#20~16.04.1-Ubuntu SMP Wed Aug 9 09:06:22 UTC 2017

Linux Command Manual