mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-24 01:06:36 +00:00
edit hostname
This commit is contained in:
parent
2c66e33ec0
commit
745649866d
@ -1895,8 +1895,10 @@ if not working, do also:
|
|||||||
```bash
|
```bash
|
||||||
hostnamectl set-hostname your-new-hostname
|
hostnamectl set-hostname your-new-hostname
|
||||||
```
|
```
|
||||||
and edit /etc/hostname by replacing your new hostname
|
then run:
|
||||||
|
hostnamectl
|
||||||
|
|
||||||
|
check /etc/hostname
|
||||||
|
|
||||||
##### List installed packages
|
##### List installed packages
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user