Monday, September 21, 2009

Changing the hostname in Debian based distributions

Debian based systems use the file /etc/hostname to read the hostname of the system at boot time and set it up using the init script /etc/init.d/hostname.sh

% cat /etc/hostname
localhost
%

No comments: