GNU/Linux xterm-256color bash 181 views

Spawns an xterm window showing the status of systemd-logind.service and systemd-hostnamed.service, which are crucial for managing hostnames on modern Linux systems. Validation: 🕵️

The script checks if the hostname meets the rules (e.g., no starting or ending hyphens, max length 63, etc.). Shell Restart: 🐚 After the hostname change, it offers to restart the shell session to apply the new hostname, but also reminds the user to do it manually if they opt not to restart.

Github: https://github.com/DouglasFreshHabian/H0stnam3