Difference between revisions of "Uname"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
m
 
Line 2: Line 2:
  
 
Example:
 
Example:
tweedleburg:~/ # uname
+
tweedleburg:~/ # uname
Linux
+
Linux
tweedleburg:~/ # uname -a
+
tweedleburg:~/ # uname -a
Linux tweedleburg 3.4.11-2.16-desktop #1 SMP PREEMPT Wed Sep 26 17:05:00 UTC 2012 (259fc87) x86_64 x86_64 x86_64 GNU/Linux
+
Linux tweedleburg 3.4.11-2.16-desktop #1 SMP PREEMPT Wed Sep 26 17:05:00 UTC 2012 (259fc87) x86_64 x86_64 x86_64 GNU/Linux
tweedleburg:~/ # uname -p
+
tweedleburg:~/ # uname -p
x86_64
+
x86_64
tweedleburg:~/ # uname -m
+
tweedleburg:~/ # uname -m
x86_64
+
x86_64
tweedleburg:~/ # uname -i
+
tweedleburg:~/ # uname -i
x86_64
+
x86_64

Latest revision as of 09:39, 19 December 2012

uname is a command to display information about the running kernel. You can use it to find out if your system is 32bit or 64 bit.

Example:

tweedleburg:~/ # uname
Linux
tweedleburg:~/ # uname -a
Linux tweedleburg 3.4.11-2.16-desktop #1 SMP PREEMPT Wed Sep 26 17:05:00 UTC 2012 (259fc87) x86_64 x86_64 x86_64 GNU/Linux
tweedleburg:~/ # uname -p
x86_64
tweedleburg:~/ # uname -m
x86_64
tweedleburg:~/ # uname -i
x86_64