mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2024-11-22 20:54:19 +00:00
update change hostname
This commit is contained in:
parent
745649866d
commit
a1309864e4
1 changed files with 6 additions and 0 deletions
|
@ -1900,6 +1900,12 @@ hostnamectl
|
|||
|
||||
check /etc/hostname
|
||||
|
||||
if still not working..., edit:
|
||||
/etc/sysconfig/network
|
||||
/etc/sysconfig/network-scripts/ifcfg-ensxxx
|
||||
add HOSTNAME="your-new-hostname"
|
||||
|
||||
|
||||
##### List installed packages
|
||||
```bash
|
||||
apt list --installed
|
||||
|
|
Loading…
Reference in a new issue