tldr/common/uname.md

261 B

uname

Print operating system name

  • Print all available operating system and kernel information

uname -a

  • Print the current operating system name (e.g. Linux, Darwin, SunOS, etc)

uname -s

  • Print the nodename (hostname) of the system

uname -n