(Because I keep forgetting)

  • apt
  • cheese
  • elephant-in-snake
  • fox
  • kangaroo
  • luke-koala
  • moose
  • sheep
  • stimpy
  • turtle
  • vader-koala
  • bud-frogs
  • cock
  • dragon-and-cow
  • elephant
  • ghostbusters
  • kiss
  • mech-and-cow
  • pony-smaller
  • skeleton
  • suse
  • tux
  • vader
  • bunny
  • cower
  • dragon
  • eyes
  • gnu
  • koala
  • milk
  • pony
  • snowman
  • three-eye
  • unipony-smaller
  • calvin
  • daemon
  • duck
  • flaming-sheep
  • hellokitty
  • kosh
  • moofasa
  • ren
  • stegosaurus
  • turkey
  • unipony

Here’s a little bash script which will show you All The Cows. I run mine with added lolcat!

#!/bin/bash

says=$(ls /usr/share/cowsay/cows/)

if [ $# -eq 0 ]; then
        cowtext="Check me Out!"
else
        cowtext=$1
fi
terminal=/dev/pts/1
cols=$(tput cols)
cols=$(($cols-1))
declare -a separator=("-")
cc=1
while [ $cc -le $cols ]; do
        idx=$(($cc%2))
        if [ $idx -eq 0 ]; then
                separator+=("-")
        else
                separator+=("=")
        fi
        cc=$(($cc+1))
done
ss=$(ls -l /usr/share/cowsay/cows/*.cow | wc -l)
printf "%s" "${separator[@]}"
echo ""
count=0;
for say in $says; do
        count=$(($count+1))
        printf "\n\n"
        label=$(echo "$say" | cut -f 1 -d '.')
        i=$((count%2))
        echo "Number " $count " is called: " $label
        if [ $i -eq 0 ]; then
                cowsay -f $label $cowtext
                printf "\n\n"
                printf "%s" "${separator[@]}"
        else
                cowsay -f $label $cowtext
                printf "\n\n"
                if [ $ss -ne $count ]; then
                        printf "%s" "${separator[@]}"
                fi
        fi
        printf "\n"
done

printf "%s" "${separator[@]}"
printf "\n\n\n"
touch showMeCows
nano showMeCows (paste the code above)
/bin/bash showMeCows

Leave a Reply

Privacy & more..

Cookie Consent Policy