From 9f182d684d1d6b27cfa88c2fd5f19e6943c87755 Mon Sep 17 00:00:00 2001 From: Florent Munch Date: Sun, 15 Sep 2013 00:57:06 +0200 Subject: [PATCH] Added uname cheatsheet --- cheatsheets/uname | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 cheatsheets/uname diff --git a/cheatsheets/uname b/cheatsheets/uname new file mode 100644 index 0000000..07ddb68 --- /dev/null +++ b/cheatsheets/uname @@ -0,0 +1,27 @@ +# Print all system information +uname -a +# Linux system-hostname 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64 GNU/Linux + +# Print the hostname +uname -n +# system-hostname + +# Print the kernel release +uname -r +# 3.2.0-4-amd64 + +# Print the kernel version +uname -v +# #1 SMP Debian 3.2.32-1 + +# Print the hardware instruction set +uname -m +# x86_64 + +# Print the kernel name +uname -s +# Linux + +# Print the operating system +uname -o +# GNU/Linux