fix: update hostname command in terminal MOTD script.

This commit is contained in:
maxi 2025-06-15 01:16:01 +02:00
parent fb7e2fdffc
commit 451f9fd01f

View file

@ -5,7 +5,7 @@ normal=$(tput sgr0)
# making sure you are on the right device. :^) # making sure you are on the right device. :^)
printf '%0.s*' {1..80} printf '%0.s*' {1..80}
echo echo
echo "you are" ${bold}$(whoami)${normal} "on" ${bold}$(hostnamectl hostname)${normal} "which is running" ${bold}$(uname -s -r)${normal}"." echo "you are" ${bold}$(whoami)${normal} "on" ${bold}$(hostname)${normal} "which is running" ${bold}$(uname -s -r)${normal}"."
# keep your sanity, maximilian. # keep your sanity, maximilian.
# displaying a random image from my motd folder. # displaying a random image from my motd folder.