Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hash@ssl50:~$ cowsay -f tux "Carry on"
- < carry on >
- ----------
- .--.
- |o_o |
- |:_/ |
- //
- (| | )
- /'_ _/`
- ___)=(___/
- $HOME/cowscript
- #!/bin/bash
- RANGE=4
- number=$RANDOM
- let "number %= $RANGE"
- case $number in
- 0)
- cow="small"
- ;;
- 1)
- cow="tux"
- ;;
- 2)
- cow="koala"
- ;;
- 3)
- cow="moose"
- ;;
- esac
- RANGE=2
- number=$RANDOM
- let "number %= $RANGE"
- case $number in
- 0)
- command="/usr/games/cowsay"
- ;;
- 1)
- command="/usr/games/cowthink"
- ;;
- esac
- /usr/games/fortune | $command -f $cow
- cowsay -l
- 4)
- cow="udder"
- ;;
- export COWPATH="/usr/share/cowsay/cows"
- # set COWPATH so it includes user's cows
- if [ -d "$HOME/cowfiles" ] ; then
- COWPATH="$COWPATH:$HOME/cowfiles"
- fi
- fortune | cowsay -f tux
- fortune | cowsay -f `ls /usr/share/cowsay/cows/ | shuf -n 1`
- ___________________________________
- / Q: Who cuts the grass on Walton's
- Mountain? A: Lawn Boy. /
- -----------------------------------
- , _ ___.--'''`--''//-,-_--_.
- `"' ` || \ \/ / // / ,-\`,_
- /'` || Y | |/ / // / - |__ `-,
- /@" ` ` | | ||/ // | / `-._`-,_.,
- / _.-. `.-,___/ _/|_/__/|_/ | `-._._)
- `-'``/ / | // __/__ / __/
- `-' /-/ | -| __ |-' |
- __/ / _/ / __,-' ) ,' _|'
- (((__/(((_.' ((___..-'((__,'
- fortune | `ls /usr/games/cow* | shuf -n 1` -f `ls /usr/share/cowsay/cows/ | shuf -n 1`
- fortune | cowsay -f turtle
- $ sudo apt-get install fortune-mod fortunes-ubuntu-server fortunes-off fortunes-bofh-excuses fortunes-debian-hints fortunes-spam cowsay
Add Comment
Please, Sign In to add comment