Changing hostname in linux without rebooting the server

Oleg Zech
Apr 14, 2021

--

hostnamectl set-hostname <new_name>

This little article is a response to brilliant tech republic article https://www.techrepublic.com/article/how-to-set-a-linux-hostname-without-rebooting/

The article linked above has 283 words, 1613 characters.

To describe typing 3 words

Let is sink for a moment.

Yes, I understand not everyone knows what is hostname (really?)
But people googling for solution certainly do.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response