From 9f182d684d1d6b27cfa88c2fd5f19e6943c87755 Mon Sep 17 00:00:00 2001 From: Florent Munch Date: Sun, 15 Sep 2013 00:57:06 +0200 Subject: [PATCH 1/2] 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 From 8dae29ad42a13d39483f3df6300139e046b33376 Mon Sep 17 00:00:00 2001 From: Florent Munch Date: Sun, 15 Sep 2013 01:07:04 +0200 Subject: [PATCH 2/2] Added information for uname -v --- cheatsheets/uname | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheatsheets/uname b/cheatsheets/uname index 07ddb68..12bbcc7 100644 --- a/cheatsheets/uname +++ b/cheatsheets/uname @@ -10,7 +10,7 @@ uname -n uname -r # 3.2.0-4-amd64 -# Print the kernel version +# Print the kernel version, with more specific information uname -v # #1 SMP Debian 3.2.32-1