1. issue the command hostname newhostname 2. edit /etc/sysconfig/network then add the hostname at HOSTNAME=hostname 3. edit /etc/hosts then add
111.222.333.444 newhostname.domain alias ex 192.168.0.1 jenna.sagent.ph jenna On Thu, 2003-03-06 at 17:22, Ariz Jacinto wrote: > what's the command for the HOSTNAME to take effect immediately > (everytime i edit the /etc/hostname file) without rebooting. > > > x. > - i've altered the content of /etc/hostname to > "enigma" > > - i want the console or the command: "uname -n" > to display the new hostname after issuing > a command. * i'll be issuing the command > on debian potato. > > > thanks!!! > > _ > Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL > PROTECTED] _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
