how to change the hostname of linux OS?

hostnamectl  set-hostname xxxx

原文地址:https://www.cnblogs.com/zafu/p/10206409.html