Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox

Uname command

From NetworkCommands


Image:Tux_64x64.png

A command line program available on most Linux and Unix systems; used to display system information, such as kernel version, processor and operating system.

Contents

Image:Vm-power-on-medium.png Usage Syntax

uname [option]

The available options are;

  • -a or --all - display all available information, in the order of the rest of this option list
  • -s or --kernal-name - display the kernel name (same as using no option)
  • -n or --nodename - display the network node hostname (same as the hostname command)
  • -r or --kernel-release - display the kernal release (more like version number)
  • -v or --kernel-version - display the kernel version (more like type)
  • -m or --machine - display the machine hardware name (more like processor name)
  • -p or --processor - display the processor type
  • -i or --hardware-platform - display the hardware platform (more like processor architecture)
  • -o or --operating-system - display the operating system (like -s)

Image:accessories-text-editor-v2-medium.png Linux Usage Notes

With most Linux or Unix commands;

  • Brief help can be displayed using the option/keyword: -h or --help, for example: chmod --help
  • A full command manual can be displayed using the man command followed by the command name, for example: man chmod
  • Sometimes 'info' pages are used instead of or to provide more information than man pages; for example: info chmod
  • Version information can be display using the option/keyword: -v or --version, for example: chmod --version


Image:utilities-terminal-medium.png Typical Output

steve@test-laptop:~$ uname -a
Linux test-laptop 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux

Image:icemon-medium.png Related Articles

Information on other Linux commands Image:Tux-small.png

Information on F5 BigIP commands Image:F5-logo-small.png

Information on Secure Platform commands

Information on Cisco commands Image:Cisco-logo-small.png

Information on Vyatta commands Image:Vyatta-logo-small.png

Information on Extreme commands Image:Extreme-logo-small.png

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Image:internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to steve#networkstuff.eu (replacing the # with an @)



Site Toolbox:

Personal tools
This page was last modified on 26 August 2008, at 11:05. - This page has been accessed 43 times. - Disclaimers - About NetworkCommands
Powered by MediaWiki