uname is little popular command that cutely shows basic information about the Linux kernel, like it’s version, kernel release version, system’s time, architecture, hostname, kernel name, processor and hardware type…

  -a, --all                print all information, in the following order,
                             except omit -p and -i if unknown:
  -s, --kernel-name        print the kernel name
  -n, --nodename           print the network node hostname
  -r, --kernel-release     print the kernel release
  -v, --kernel-version     print the kernel version
  -m, --machine            print the machine hardware name
  -p, --processor          print the processor type (non-portable)
  -i, --hardware-platform  print the hardware platform (non-portable)
  -o, --operating-system   print the operating system
      --help     display this help and exit
      --version  output version information and exit
# uname -a
Linux arch 5.8.12-arch1-1 #1 SMP PREEMPT Sat, 26 Sep 2020 21:42:58 +0000 x86_64 GNU/Linux
# uname -s
Linux
# uname -r
5.8.12-arch1-1
# uname -v
1 SMP PREEMPT Sat, 26 Sep 2020 21:42:58 +0000
# uname -m
x86_64
# uname -o
GNU/Linux

Leave a Reply