How to change hostname on Linux Mint? Posted on Mar 24, 2018 by Eric Ma In QA How to change the hostname on Linux Mint? The hostname (e.g. mypc or mypc.example.com) can be changed by putting the hostname in one line in the file /etc/hostname on Linux Mint. Read more: How to Change Hostname of Fedora Linux How to get hostname in Python on Linux? Getting Hostname in C Programs in Linux Wireless driver in Linux Mint for HP Mini 110 Netbook How to configure iptables on Linux Mint 17.1? Getting Hostname in Bash in Linux in 3 Ways Finding Which Package Provides a File in Ubuntu Linux and Linux Mint How to get the hostname of the node in Python?