This script prompts the user to enter a hostname and sets it on a Linux machine.
You can download and run the script using the following command:
bash -c "$(wget -qLO - https://github.com/aureTheDev/set-hostname/raw/main/set-hostname.sh)"
To verify that the hostname has been successfully changed, use the following command:
hostname