Results 1 to 2 of 2

Thread: Regarding changing Hostname and Server name in Terminal

  1. #1
    Join Date
    Dec 2017
    Beans
    20

    Regarding changing Hostname and Server name in Terminal

    Hello,
    If i open a terminal i am getting as:-
    dilip@Dilip:~$

    where "dilip" is Server name and "Dilip" is Hostname (correct me if i am wrong....)
    I tried to change hostname by the command:-
    gksudo gedit /etc/hostname /etc/hosts

    But i am unable to change the Server name ie., "dilip"

    So, How can i change this server name...? What are the commands need to be given..??

    Any suggestions are appreciated.

    Thank you.

  2. #2
    Join Date
    Oct 2006
    Beans
    58,286

    Re: Regarding changing Hostname and Server name in Terminal

    Duplicate thread closed.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •