tldr/pages/linux/hostnamectl.md

12 lines
200 B
Markdown
Raw Normal View History

2017-05-07 09:45:47 +01:00
# 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}}"`