mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2024-11-26 22:40:28 +00:00
edit hostname
This commit is contained in:
parent
2c66e33ec0
commit
745649866d
1 changed files with 3 additions and 1 deletions
|
@ -1895,8 +1895,10 @@ if not working, do also:
|
|||
```bash
|
||||
hostnamectl set-hostname your-new-hostname
|
||||
```
|
||||
and edit /etc/hostname by replacing your new hostname
|
||||
then run:
|
||||
hostnamectl
|
||||
|
||||
check /etc/hostname
|
||||
|
||||
##### List installed packages
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue