Tuesday, October 2, 2007

print name of host.

`hostname` - set or print name of current host system.

DESCRIPTION:
The hostname command prints the name of the current host, as given before the login prompt. The super-user can set the hostname by giving an argument.

When called without any arguments, the program displays the current names.

USAGE:

[root@server root]# hostname
file.server.co.th



No comments: