Change hostname permanent
- siwy
- cze, 10, 2018
- Debian, Linux, Useful commands
- No Comments
sudo hostnamectl set-hostname new.name.1
and change old hostname to new in /etc/hosts.
sudo hostnamectl set-hostname new.name.1
and change old hostname to new in /etc/hosts.