DEV Community

technonotes-hacker
technonotes-hacker

Posted on

Lets Learn சிவப்புHat Linux - 1

How to assign a Host-name ?

  • Just type hostname and a tab , it will return the options which are present like below.

Image description

  • it needs to be carried out with ROOT user only.
  • hostnamectl set-hostname <..> Eg., hostnamectl set-hostname name
  • hostnamectl status

Image description

Top comments (0)