Hostname setup

  • by

options to view the current hostname:

hostname
hostname -s
hostname -f

setup file in this location:
cat /etc/hostname

setup in the command line:
hostnamectl set-hostname your-new-hostname

Leave a Reply

Your email address will not be published. Required fields are marked *