Created
September 18, 2020 08:56
-
-
Save karanssh/bf1c8560a345d48facd3a5fd65dea1da to your computer and use it in GitHub Desktop.
Guide to getting a cowsay + fortune on every SSH login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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