Skip to content

Instantly share code, notes, and snippets.

@michimau
Last active February 19, 2023 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michimau/c443b4839f5efec7596f352177c4a0f0 to your computer and use it in GitHub Desktop.
Save michimau/c443b4839f5efec7596f352177c4a0f0 to your computer and use it in GitHub Desktop.
customize /etc/bash.bashrc
clear
if (( $EUID == 0 )); then
{ printf "Remember while being root: \n\"with great power comes great responsibility!\"\n\n";} | /usr/games/cowthink
else
if [ $RANDOM -le 1000 ]; then
/usr/games/sl -ale
else
{ /usr/games/fortune; printf "\nWelcome back, "; whoami; } | /usr/games/cowthink
fi
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment