[Next] [Previous] [Up] [Top] [Contents]

4.1 System Resources

4.1.8 hostname/uname - name of machine

hostname (uname -n on SysV) reports the host name of the machine the user is logged into, e.g.:

brigadier: condron [91]> hostname

brigadier

uname has additional options to print information about system hardware type and software version.


Introduction to Unix - 14 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]