UNAME(1) COMMAND REFERENCE UNAME(1) NAME uname - print name of current system SYNOPSIS uname [ -A ] [ -P ] [ -a ] [ -m ] [ -n ] [ -p ] [ -r ] [ -s ] [ -v ] DESCRIPTION Uname prints the current system name on standard output. It is mainly useful to determine which system one is using. The options cause selected information returned by uname(2) to be printed. OPTIONS -A Print all the information for all options. -P Print all the information for the software packages installed. -a Print all the information for options -m, -n, -r, -s, and -v. -m Print the machine hardware name. -n Print the nodename (the nodename is set with sethostname(2)). -p Print the name(s) of the software packages installed. -r Print the operating system release. -s Print the system name (default). -v Print the operating system version. EXAMPLES The following example prints the machine name. $ uname -m Tek6130 FILES /usr/lib/bom Directory where software packaging info is SEE ALSO bom(5), sethostname(2), and uname(2). Printed 5/12/88 1
%%index%% na:264,88; sy:352,399; de:751,398; op:1149,959; ex:2108,182; fi:2290,136; se:2426,172; %%index%%000000000120