Amiga Unix — 68040 · 68060

Manual pages › General commands (1)

uname-original(1)

print name of current UNIX system

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

With the coreutil package (with the extra set), see uname(1) instead.

Also by this name: uname(2), System calls

NAME

uname - print name of current UNIX system

SYNOPSIS

uname [ -amnprsv ]
uname [ -S system_name ]

DESCRIPTION

uname prints the current system name of the UNIX system to standard output. It is mainly useful to determine which system one is using. The options cause selected information returned by uname(2) and/or sysinfo(2) to be printed:

-a Print all information.

-m Print the machine hardware name.

-n Print the nodename (the nodename is the name by which the system is known to a communications network). This is the default.

-p Print the current host's processor type.

-r Print the operating system release.

-s Print the name of the operating system (e.g. UNIX System V).

-v Print the operating system version.

On the 3B2 computer, the nodename may be changed by specifying a system name argument to the -S option. The system name argument is restricted to SYS_NMLN characters. SYS_NMLN is an implementation specific value defined in <sys/utsname.h>. Only the super-user is allowed this capability.

SEE ALSO

sysinfo(2), uname(2) in the Programmer's Reference Manual.