Information about Uname
In computer software, uname (stands for Unix Name) is a program in Unix operating systems that prints the name, version and other details about the running operating system. It is useful for building software from source, when certain parameters depend on the host operating system. The uname system call and command appeared for the first time in UNIX System III.
Some Unix variants, such as AT&T UNIX System V Release 3.0 include the related setname program, used to change the values that uname reports.
The GNU version of uname is included in the "sh-utils" or "coreutils" packages. uname itself is not available as a standalone program.
The
The following table contains examples from various versions of
..... Click the link for more information.
..... Click the link for more information.
Some Unix variants, such as AT&T UNIX System V Release 3.0 include the related setname program, used to change the values that uname reports.
The GNU version of uname is included in the "sh-utils" or "coreutils" packages. uname itself is not available as a standalone program.
The
ver command found in Microsoft operating systems such as MS-DOS or Windows is similar to the uname command.
Examples
On a system running Darwin the output from runninguname with the -a option might look like the text below:
Darwin hostname.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007;
root:xnu-792.22.5~1/RELEASE_I386 i386 i386
The following table contains examples from various versions of
uname on various platforms. These are merely meant to broadly represent common systems; actual output may vary depending on hardware type, OS version, and which software patches have been installed.
| Operating System | -s Kernel or System Name |
-o OS |
-m Machine |
-p Processor |
-i Hardware Platform |
-v Kernel Version |
-r Kernel Release |
|---|---|---|---|---|---|---|---|
| AIX | aix6 | 000931784C00 | powerpc | 5 | 1 | ||
| Cray UNICOS 9.0.2.2 | sn5176 | illegal option | CRAY Y-MP | illegal option | illegal option | sin.0 | 9.0.2.2 |
| Cygwin (Windows XP), Pentium 4 | CYGWIN_NT-5.1 | Cygwin | i686 | unknown | unknown | 2006-01-20 13:28 | 1.5.19(0.150/4/2) |
| FreeBSD 6.1, Intel | FreeBSD | illegal option | i386 | i386 | [filename of kernel conf file] | FreeBSD 6.1-RELEASE-p15 #1: Sun Apr 15 18:04:51 EDT 2007 | 6.1-RELEASE-p15 |
| Gentoo Linux, Celeron M | Linux | GNU/Linux | i686 | Intel(R) Celeron(R) M processor 1.50GHz | unknown | #2 PREEMPT Sun May 21 04:37:05 PDT 2006 | 2.6.16-suspend2-r6 |
| IRIX 6.5.30, Octane2 | IRIX64 | illegal option | IP30 | mips | illegal option | 07202013 | 6.5 |
| Mac OS X 10.2.8 | Darwin | illegal option | Power Macintosh | powerpc | illegal option | Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC | 6.8 |
| Red hat Linux, Fedora Core 6, AMD Thurion64 mobile | Linux | GNU/Linux | i686 | athlon | i386 | #1 SMP Wed Jan 10 19:28:18 EST 2007 | 2.6.19-1.2895.fc6 |
| Solaris 9, Sun Fire 280R | SunOS | illegal option | sun4u | sparc | SUNW,Sun-Fire-280R | Generic_112233-08 | 5.9 |
| Ubuntu Linux 7.04 (Feisty Fawn) 64-bit, Athlon 64 | Linux | GNU/Linux | x86_64 | unknown | unknown | #2 SMP Thu Jun 7 19:00:28 UTC 2007 | 2.6.20-16-generic |
See also
External links
Unix command line programs and builtins (more) | |
|---|---|
| File and file system management | cat chattr cd chmod chown chgrp cksum cmp cp du df file fsck fuser ln ls lsof mkdir mount mv pwd rm rmdir split touch |
| Process management | at chroot crontab exit kill killall nice pgrep pidof pkill ps sleep time top wait watch |
| User Management/Environment | env finger id logname mesg passwd su sudo uname uptime w wall who whoami write |
| Text processing | awk comm cut ed ex fmt head iconv join less more paste sed sort tac tail tr uniq wc xargs |
| Shell programming | basename echo expr false printf test true unset |
| Printing: lp Communications: inetd netstat ping rlogin nc traceroute Searching: find grep strings Miscellaneous: banner bc cal dd man size yes | |
Computer software is a general term used to describe a collection of computer programs, procedures and documentation that perform some task on a computer system. [1]
..... Click the link for more information.
..... Click the link for more information.
Unix (officially trademarked as UNIX®) is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy.
..... Click the link for more information.
..... Click the link for more information.
An operating system (OS) is the software that manages the sharing of the resources of a computer. An operating system processes system data and user input, and responds by allocating and managing tasks and internal system resources as a service to users and programs of the
..... Click the link for more information.
..... Click the link for more information.
UNIX System III (sometimes called System 3) was a version of the Unix operating system released by AT&T's Unix Support Group (USG). It was first released outside of Bell Labs in 1982. It was an amalgam of various AT&T Unixes: PWB/UNIX 2.0, CB UNIX 3.0, UNIX/TS 3.0.
..... Click the link for more information.
..... Click the link for more information.
AT&T Inc.
Public (NYSE: T )
Founded 1983[1]
Headquarters San Antonio, Texas, USA
Key people Randall L. Stephenson, Chairman/CEO; Richard Lindner, CFO
Industry Telecommunications
Products Wireless, Telephone, Internet, Television
..... Click the link for more information.
Public (NYSE: T )
Founded 1983[1]
Headquarters San Antonio, Texas, USA
Key people Randall L. Stephenson, Chairman/CEO; Richard Lindner, CFO
Industry Telecommunications
Products Wireless, Telephone, Internet, Television
..... Click the link for more information.
Unix System V, commonly abbreviated SysV and rarely called System 5, was one of the versions of the Unix operating system. It was originally developed by AT&T and first released in 1983. Four major versions of System V were released, termed Releases 1, 2, 3 and 4.
..... Click the link for more information.
..... Click the link for more information.
GNU (pronounced ) is a computer operating system composed entirely of free software.
..... Click the link for more information.
..... Click the link for more information.
MS-DOS (short for Microsoft Disk Operating System) is an operating system commercialized by Microsoft. It was the most commonly used member of the DOS family of operating systems and was the dominant operating system for the PC compatible
..... Click the link for more information.
..... Click the link for more information.
Microsoft Windows
Screenshot of Windows Vista Ultimate, the latest version of Microsoft Windows.
Company/developer: Microsoft Corporation
OS family: MS-DOS/9x-based, Windows CE, Windows NT
Source model: Closed source
..... Click the link for more information.
Screenshot of Windows Vista Ultimate, the latest version of Microsoft Windows.
Company/developer: Microsoft Corporation
OS family: MS-DOS/9x-based, Windows CE, Windows NT
Source model: Closed source
..... Click the link for more information.
Darwin
GNOME running on OpenDarwin
Company/developer: Apple Inc.
OS family: NEXTSTEP
Source model: Free and open source software
Stable release: [ 8.10.
..... Click the link for more information.
GNOME running on OpenDarwin
Company/developer: Apple Inc.
OS family: NEXTSTEP
Source model: Free and open source software
Stable release: [ 8.10.
..... Click the link for more information.
In computer command line interfaces, a command line argument is an argument sent to a program being called. In general, a program can take any number of command line arguments, which may be necessary for the program to run, or may even be ignored, depending on the function of that
..... Click the link for more information.
..... Click the link for more information.
Printing: lp Communications: inetd netstat ping rlogin nc traceroute Searching: find grep strings Miscellaneous: banner bc cal dd man size yes
..... Click the link for more information.
..... Click the link for more information.
Linux (pronunciation: IPA: /ˈlɪnʊks/, lin-uks) is a Unix-like computer operating system. Linux is one of the most prominent examples of free software and open source development; its underlying source code can be
..... Click the link for more information.
..... Click the link for more information.
man pages (short for "manual pages"). The Unix command used to display them is man. Each page is a self-contained document.
man <page_name>
at a shell prompt, for example, "
..... Click the link for more information.
Usage
To read a page from the manual, one can use the commandman <page_name>
at a shell prompt, for example, "
..... Click the link for more information.
Unix (officially trademarked as UNIX®) is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy.
..... Click the link for more information.
..... Click the link for more information.
command line interface or CLI is a method of interacting with an operating system or software using a command line interpreter. This command line interpreter may be a text terminal, terminal emulator, or remote shell client such as PuTTY.
..... Click the link for more information.
..... Click the link for more information.
Printing: lp Communications: inetd netstat ping rlogin nc traceroute Searching: find grep strings Miscellaneous: banner bc cal dd man size yes
..... Click the link for more information.
..... Click the link for more information.
The cat command is a standard Unix program used to concatenate and display files. The name is from , a synonym of concatenate.
..... Click the link for more information.
Specification
The Single Unix Specification specifies the behavior that each of the files given in sequence as arguments will write their..... Click the link for more information.
chattr is a UNIX program that allows a user to set certain attributes to a file. Mostly chattr is used to make files immutable so that password files and certain system files cannot be erased during software upgrades.
..... Click the link for more information.
..... Click the link for more information.
cd, sometimes also available as chdir (change directory), is a command line command to change the current working directory in operating systems such as Unix, Windows and DOS.
..... Click the link for more information.
..... Click the link for more information.
The chmod command (abbreviated from change mode) is a shell command in Unix and Unix-like environments.
When executed, the command can change file system modes of files and directories. The modes include permissions and special modes.
..... Click the link for more information.
When executed, the command can change file system modes of files and directories. The modes include permissions and special modes.
..... Click the link for more information.
The chown command is used on Unix-like systems to change the owner of a file. In most implementations, it can only be executed by the Superuser. Unprivileged (regular) users who wish to change the group of a file that they own may use chgrp.
..... Click the link for more information.
..... Click the link for more information.
The chgrp command is used by unprivileged users on Unix-like systems to change the group associated with a file. Unlike the chown command, chgrp allows regular users to change groups, but only to one of which they are a member.
..... Click the link for more information.
..... Click the link for more information.
cksum is a POSIX command that reads the files specified by the File parameter and calculates a checksum, cyclic redundancy check (CRC) and the byte count for a file or files. If no files are specified, the cksum command reads standard input.
..... Click the link for more information.
..... Click the link for more information.
cmp is a command line utility for computer systems that use a Unix operating system. It compares two files of any type and writes the results to the standard output. By default, cmp is silent if the files are the same; if they differ, the byte and line number at which the first
..... Click the link for more information.
..... Click the link for more information.
..... Click the link for more information.
du (abbreviated from disk usage) is a standard Unix program used to estimate the file space usage; space used under a particular directory or files on a file system. History
Thedu utility first appeared in version 1 of AT&T UNIX...... Click the link for more information.
df (abbreviated from disk free) is a standard Unix computer program used to display the amount of available disk space for filesystems on which the invoking user has appropriate read access, df
..... Click the link for more information.
..... Click the link for more information.
file is a standard Unix program for determining the type of data contained in a file.
..... Click the link for more information.
History
The original version of file originated in Unix Research Version 4 in 1973...... Click the link for more information.
fuser is a UNIX command showing which processes are using a specified file.
..... Click the link for more information.
..... Click the link for more information.
This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.
Herod_Archelaus