Last update: 2026-01-28 10:10
Random quote is displayed from an array of about 50 funny quotes
found online
You can see the script in action in the root of my gopher hole or:
I'm not insane. My mother had me tested.
(DIR) Refresh for another quote
Here's the code:
#!/usr/bin/env bash
# Insert more quotes into this array
quotes=("I'm not arguing, I'm just explaining why I'm right."
"Why be moody when you can shake your booty?")
num_quotes=${#quotes[@]}
random_index=$((RANDOM % num_quotes))
echo "${quotes[$random_index]}
This code has only 2 random quotes in the array. Go get your own.
(DIR) Back to fun stuff
(DIR) Back to my home page