Skip to content

Instantly share code, notes, and snippets.

@karanssh
Created September 18, 2020 08:56
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 karanssh/bf1c8560a345d48facd3a5fd65dea1da to your computer and use it in GitHub Desktop.
Save karanssh/bf1c8560a345d48facd3a5fd65dea1da to your computer and use it in GitHub Desktop.
Guide to getting a cowsay + fortune on every SSH login
# Guide to getting a cowsay + fortune on every SSH login
## Prerequisites
1. Install cowsay
2. Install fortune
## bashrc modifications
```shell
if [ -x /usr/share/games/fortune ]; then
fortune | cowsay -f `ls /usr/share/cowsay/ | shuf -n 1`
fi
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment