Which language do you prefer? English 简体中文 繁体中文
...

Part of Linux Commands Cheat Sheet

The uname command within Linux allows you to view system information about your Linux environment.


uname

Output:


Linux

For more information:


uname -a

Output example:


Linux Kvmla-201906182079 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  • Linux: kernel name
  • Kvmla-201906182079 4.4.0-62-generic: node name
  • 4.4.0-62-generic: kernel release
  • 83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017: kernel version

  • x86_64 (first): machiine name (kernel architecture)
  • x86_64 (second): processor type
  • x86_64 (third): hardware platform
  • GNU/Linux: operating system

uname -s # kernel name
uname -n # node name
uname -r # kernel release
uname -v # kernel version
uname -m # machiine name (kernel architecture)
uname -p # processor type
uname -i # hardware platform
uname -o # operating system

Display System Information Within Linux Using the "uname" Command

wbswjc-blog