This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
linux:general:network [2022/12/16 10:48] – lunetikk | linux:general:network [2022/12/16 10:51] (current) – lunetikk | ||
---|---|---|---|
Line 192: | Line 192: | ||
sudo vi / | sudo vi / | ||
</ | </ | ||
- | Reload | + | Set your hostname |
< | < | ||
hostname –F / | hostname –F / | ||
+ | </ | ||
+ | |||
+ | New syntax to set a hostname | ||
+ | < | ||
+ | hostnamectl set-hostname " | ||
+ | </ | ||
+ | Show hostname | ||
+ | < | ||
+ | hostnamectl | ||
</ | </ | ||