Manual Pages
Table of Contents
na_hostname - Sets or displays node name.
hostname [ name ]
hostname prints the name of the current host. The
hostname can be set by supplying an argument. This is
usually done in the initialization script, /etc/rc, which
is run at boot time. name must exist in the /etc/hosts
data base.
When run from a vfiler context (for example, via the
vfiler run command), hostname prints the hostname of the
concerned vfiler. Also, the hostname command currently
does not allow setting the hostname of a vfiler.
- /etc/hosts
- host name data base
- /etc/rc
- system initialization command script
na_hosts(5), na_rc(5)
Table of Contents