Skip to content

Instantly share code, notes, and snippets.

@jonz94
Created November 8, 2021 11:58
Show Gist options
  • Save jonz94/3774232fc11f0c538689ef26051af3e7 to your computer and use it in GitHub Desktop.
Save jonz94/3774232fc11f0c538689ef26051af3e7 to your computer and use it in GitHub Desktop.
WSL version 1 uname output
jonz94@jonzWin11WS:~$ uname --help
Usage: uname [OPTION]...
Print certain system information.  With no OPTION, same as -s.

  -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

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Report uname translation bugs to <https://translationproject.org/team/>
Full documentation at: <https://www.gnu.org/software/coreutils/uname>
or available locally via: info '(coreutils) uname invocation'
jonz94@jonzWin11WS:~$ uname -a
Linux jonzWin11WS 4.4.0-22000-Microsoft #1-Microsoft Fri Jun 04 16:28:00 PST 2021 x86_64 x86_64 x86_64 GNU/Linux
jonz94@jonzWin11WS:~$ uname -s
Linux
jonz94@jonzWin11WS:~$ uname -n
jonzWin11WS
jonz94@jonzWin11WS:~$ uname -r
4.4.0-22000-Microsoft
jonz94@jonzWin11WS:~$ uname -v
#1-Microsoft Fri Jun 04 16:28:00 PST 2021
jonz94@jonzWin11WS:~$ uname -m
x86_64
jonz94@jonzWin11WS:~$ uname -p
x86_64
jonz94@jonzWin11WS:~$ uname -i
x86_64
jonz94@jonzWin11WS:~$ uname -o
GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment