summaryrefslogtreecommitdiff
path: root/bin/fun.sh
blob: 3db38f27bb1a5a6e45b5ab5e855778cd4e0d5739 (plain)
1
2
3
4
5
#
# Fun
#
alias rmatrix='echo -ne "\e[31m" ; while true ; do echo -ne "\e[$(($RANDOM % 2 + 1))m" ; tr -c "[:print:]" " " < /dev/urandom | dd count=1 bs=50 2> /dev/null ; done'
alias gmatrix='echo -ne "\e[32m" ; while true ; do echo -ne "\e[$(($RANDOM % 2 + 1))m" ; tr -c "[:print:]" " " < /dev/urandom | dd count=1 bs=50 2> /dev/null ; done'