Skip to content

Instantly share code, notes, and snippets.

@lucgiffon
Created January 22, 2018 09:09
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 lucgiffon/854461c93f0ec593add579327d08867d to your computer and use it in GitHub Desktop.
Save lucgiffon/854461c93f0ec593add579327d08867d to your computer and use it in GitHub Desktop.
Cowsay tell fortune
if [ -x /usr/games/fortune -a -x /usr/games/cowsay ]; then
fortune -a | cowsay -f $(ls /usr/share/cowsay/cows/ | shuf -n1)
fi
@lucgiffon
Copy link
Author

add to .bashrc or .profile to see cowsay tell fortune on terminal startup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment