mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-30 17:33:50 +08:00
New command: hostnamectl
This commit is contained in:
committed by
Agniva De Sarker
parent
73ec3a8811
commit
8125f34ee7
@@ -0,0 +1,11 @@
|
||||
# hostnamectl
|
||||
|
||||
> Get or set the hostname of the computer.
|
||||
|
||||
- Get the hostname of the computer:
|
||||
|
||||
`hostnamectl`
|
||||
|
||||
- Set the hostname of the computer:
|
||||
|
||||
`sudo hostnamectl set-hostname "{{some_hostname}}"`
|
||||
Reference in New Issue
Block a user