Setting The Hostname

Discussion in 'HOWTO-Related Questions' started by dranieri, Sep 13, 2005.

  1. dranieri

    dranieri New Member

    Typing in this command from the prompt.
    echo server1.example.com > /etc/hostname
    /bin/hostname -F /etc/hostname
    We get this in return -bash: /etc/hostname/bin/hostname: Not a directory.
     
  2. till

    till Super Moderator

    This are two commands, first type:

    Code:
    echo server1.example.com > /etc/hostname
    hit return, then type:

    Code:
    /bin/hostname -F /etc/hostname
    hit return.
     
  3. dranieri

    dranieri New Member

    As always a great help thank you for your hard work in helping the extreme newbies like myself and my wife. You are helping make this extremly enjoyable to learn.
    This forum is the best I have ever seen.

     

Share This Page