hostname

  • HOWTO - Change hostname on Linux

    I think that see my name@localhost is not so beatiful, so i want to change it. It's a simple thing to do in afew steps.

    1. Edit hosts file with:

    sudo gedit /etc/hosts

    and put the name in the row with 127.0.0.1
    2. Edit hostname file:

    sudo gedit /etc/hostname

    then restart your shell