Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

uname(1) [redhat man page]

UNAME(1)								FSF								  UNAME(1)

NAME
uname - print system information SYNOPSIS
uname [OPTION]... DESCRIPTION
Print certain system information. With no OPTION, same as -s. -a, --all print all information, in the following order: -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 -i, --hardware-platform print the hardware platform -o, --operating-system print the operating system --help display this help and exit --version output version information and exit AUTHOR
Written by David MacKenzie. REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>. COPYRIGHT
Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
The full documentation for uname is maintained as a Texinfo manual. If the info and uname programs are properly installed at your site, the command info uname should give you access to the complete manual. uname (coreutils) 4.5.3 February 2003 UNAME(1)

Check Out this Related Man Page

UNAME(1)							   User Commands							  UNAME(1)

NAME
uname - print system information SYNOPSIS
uname [OPTION]... DESCRIPTION
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 AUTHOR
Written by David MacKenzie. REPORTING BUGS
GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report uname translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
arch(1), uname(2) Full documentation at: <http://www.gnu.org/software/coreutils/uname> or available locally via: info '(coreutils) uname invocation' GNU coreutils 8.28 January 2018 UNAME(1)
Man Page

15 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

OS Type and Version

I have seen quite a few posts recently which have launched into questions about specfic errors whose resolution depends a lot upon the OS type and version. I suggest that in the FAQ an additional entry be included, either under general board usage or posting threads, that informs the user to... (6 Replies)
Discussion started by: saabir
6 Replies

2. UNIX for Dummies Questions & Answers

Unix*

Hello All is there something on this earth,something when i tybe (uname) it types for me (UNIX)? Regards (4 Replies)
Discussion started by: qmemo
4 Replies

3. Shell Programming and Scripting

Problem with logging into remote host

Hi All, I am using a script for remotely logging into a rhost using telnet and shutdown a server. The script is as follows. IP = 10.24.12.23; export IP UNAME = username ; export UNAME PWD = password; export PWD CRDIR = /etc/rc.d/init.d ; export CRDIR echo "logging into remote... (4 Replies)
Discussion started by: patil_reddy
4 Replies

4. UNIX for Dummies Questions & Answers

awk print line

Hi All, I know that i can print the lines from awk just using the print method, but i need to print stuff before it i.e: BEGIN { i=0 } { i++ print i ")" print } END { } Here the output is: (7 Replies)
Discussion started by: Chiefos
7 Replies

5. UNIX for Dummies Questions & Answers

Wrong 'uname' )

Hi ! I heard that root can modify the uname -command, so it will show the wrong kernel version. Is it true? can you tell more about this /give links ? system: linux/*bsd. thanks in advance (14 Replies)
Discussion started by: DCrystal
14 Replies

6. UNIX for Dummies Questions & Answers

Executable files

This question always confuses me :- Suppose I write a program and compile it on a machine with operating system A and processor B will the exe file run on a machine with operating system A2 but processor B operating system A but processor B2 operating system A2 and processor B2........ ... (9 Replies)
Discussion started by: nervous
9 Replies

7. Shell Programming and Scripting

ipaddress in HP-UX

Hi, How can I figure out the IP address of my node in HP-UX? Here is uname -a: /throra10 >uname -a HP-UX finprod B.11.23 U ia64 3832216299 unlimited-user license This is to launch Xterminal. Thanks. (7 Replies)
Discussion started by: RockyC123
7 Replies

8. AIX

AIX version

Hi all Can any1 tell me how to check the AIX version on my server. I have used uname -a but it does not give a specific version number. (4 Replies)
Discussion started by: masquerer
4 Replies

9. UNIX for Dummies Questions & Answers

How to check kernel info

Hi, can anyone tell how can i check kernel memory and paging info etc.. thanks, Mazhar (6 Replies)
Discussion started by: mazhar99
6 Replies

10. Shell Programming and Scripting

1 liner question

This works: nslookup `uname -n`|tail -2|awk -F: '{print $2}' This does not aa=`nslookup `uname -n`|tail -2|awk -F: '{print $2}'` Why??? Solaris v10 Thanks Brandt (6 Replies)
Discussion started by: beppler
6 Replies

11. SCO

Print to file

Is there a way to print directly to a file, because I need to print some reports from a software so it has to be automatic. Thank you (6 Replies)
Discussion started by: spartanboy184
6 Replies

12. HP-UX

[Solved] processor type and bit information

Hi, I'm trying to download a compatible Oracle Client software for a HP-UX machine. I'd like to know if ... 1) HP-UX is 32 bit or 64 bit? 2) Processor type - Itanium or regular? when I execute uname -a I get HP-UX B.11.11 U 9000/800 728684161 unlimited-user license Based on the... (7 Replies)
Discussion started by: luft
7 Replies

13. Fedora

uname too vague?

Hi all, I am ssh'ed into a cluster and want to install a package. However, I don't know which type to chose (CentOS, Fedora, OpenSuSE are some of the options). I ran called uname with various arguments but none are specific... $ uname -n resolute.research... $ uname -i x86_64 $ uname... (6 Replies)
Discussion started by: neurorad
6 Replies

14. Shell Programming and Scripting

print system("uname -n") is not working .Pls help

awk '{if ($1 == "State:" && $2 == "Okay") {print system("uname -n")}}' ---------- Post updated at 01:20 AM ---------- Previous update was at 01:19 AM ---------- it is printing uname -n instead of printing the output of the command (8 Replies)
Discussion started by: rishiraaz
8 Replies

15. Shell Programming and Scripting

Adding of two column values

Hi cat /tmp/xx.txt 1 4 1 5 1 6 2 1 2 1 2 1 i want to add the values of 2nd column resepect to 1st column values..for 1 in 1st column i need sum of all the values in 2nd column ..pls tell me hw to do it?? (8 Replies)
Discussion started by: Aditya.Gurgaon
8 Replies