Skip to content

Change debian hostname

sh
echo "NewName" > /etc/hostname

# Then update name in /etc/hosts
vim /etc/hosts