uname(1) DG/UX 4.30 uname(1)
NAME
uname - print name of current DG/UX system
SYNOPSIS
uname [ -snrvma ]
DESCRIPTION
Uname prints the current system name of the DG/UX system on
the standard output file. It is mainly useful to determine
which system you are using. The options print selected
information returned by uname(2):
-s Print the system name (default).
-n Print the nodename (the nodename may be a name that the
system is known by to a communications network).
-r Print the operating system release.
-v Print the operating system version.
-m Print the machine hardware name.
-a Print all the above information.
EXAMPLES
$ uname
dgux
$
Prints the system name on the standard output.
$ uname -a
dgux sys08 4.20 4.20 AViiON
$
Prints the system name, the nodename, the operating system
release, the operating system version and the machine
hardware name on the standard output.
$ PS1=`uname`; export PS1
dgux
Sets the primary shell prompt to the name of the system and
makes the new value of the variable available to all the
shells that you initiate. Note that the uname command is in
backquotes.
SEE ALSO
uname(2) in the Programmer's Reference for the DG/UXTM
System (Volume 1)
Licensed material--property of copyright holder(s) Page 1