Skip to content

Latest commit

 

History

History
executable file
·
9 lines (6 loc) · 177 Bytes

024-change-hostname-in-debian.md

File metadata and controls

executable file
·
9 lines (6 loc) · 177 Bytes

Change hostname in Debian

As root - run the command:

hostnamectl set-hostname NEW-HOSTNAME

Remember that the hostname can only contain letters, digits, and dashes.