Skip to content

Instantly share code, notes, and snippets.

@jpalala
Last active October 16, 2025 16:00
Show Gist options
  • Save jpalala/55f75649047ee92586a455b3dd5ad682 to your computer and use it in GitHub Desktop.
Save jpalala/55f75649047ee92586a455b3dd5ad682 to your computer and use it in GitHub Desktop.
cowfetch
# Please install cowsay or else!
now=$(date +%H:%M)
message="U da Goat!"
uptimemsg=$(uptime | awk -F'(up |, [0-9]+ users?)' '{print "up" $2}')
printf '\033[36m'
cowsay -d "$message $uptimemsg"
echo "You are using $(grep '^PRETTY_NAME=' /etc/os-release | cut -d= -f2 | tr -d '"') $(uname -m)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment