mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-26 06:17:01 +00:00
update change hostname
This commit is contained in:
parent
745649866d
commit
a1309864e4
@ -1900,6 +1900,12 @@ hostnamectl
|
|||||||
|
|
||||||
check /etc/hostname
|
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
|
##### List installed packages
|
||||||
```bash
|
```bash
|
||||||
apt list --installed
|
apt list --installed
|
||||||
|
Loading…
Reference in New Issue
Block a user