*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> hostname (1)              
Title
Content
Arch
Section
 

Contents


HOSTNAME(1)							   HOSTNAME(1)


NAME    [Toc]    [Back]

     hostname -	set or print name of current host system

SYNOPSIS    [Toc]    [Back]

     hostname [-s] [nameofhost]

DESCRIPTION    [Toc]    [Back]

     Hostname prints the name of the current host. The -s option trims any
     domain information	from the printed name.	The super-user can set the
     hostname by supplying an argument;	this is	usually	done in	the system
     setup initialization script /etc/init.d/sysetup using the contents	of
     /etc/sys_id.  This	setting	persists only until the	next reboot when the
     startup procedure will once again initialize the hostname with the
     contents of the above file.  To permanently change	this value change the
     contents of the above file	then run hostname as a privileged user.

SEE ALSO    [Toc]    [Back]

      
      
     gethostname(2), sethostname(2)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
hostid IRIX set or print identifier of current host system
domainname OpenBSD set or print YP domain of current host system
hostid Linux print the numeric identifier for the current host
users Linux print the user names of users currently logged in to the current host
hostname HP-UX set or display name of current host system
hostname Tru64 Sets or displays the name of the current host system
traceroute IRIX print the route packets take to a network host
traceroute FreeBSD print the route packets take to network host
traceroute OpenBSD print the route packets take to network host
sethostname OpenBSD get/set name of current host
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service