Friday, June 13, 2008

Change hostname


To change the name of the computer's name (hostname) do the following:

#echo <hostname> > /etc/HOSTNAME

Example:

#echo earth > /etc/HOSTNAME

No comments: