by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 years ago )

The

directive is as follows:
hostnamectl set-hostname hostname

Tags:

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


nas

Change the admin password of the synology NAS with commands

Record how I can change the user or administrator account on the Synology NAS by command. Users need to have sufficient permissions to adjust, such as root or admin

linux

How rsync automatically allows ssh key fingerprints

When we use ssh to connect to the host for the first time, a fingerprint confirmation of the host key will be displayed. Sometimes use rsync for some automated scheduling, maybe the remote host has changed and needs to be automatically allowed, How to let ssh automatically allow fingerprints to connect without manually pressing yes in interactive mode?

HTTP Status CODE

Record HTTP status code description