Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Rename the directories to suit your needs. I just pasted my bash_profile.
- files=(/Users/haley/catdir/cat*)
- clear
- # emergency.txt is just a text document with ASCII art that reads "emergency cat"
- cat /Users/haley/catdir/emergency.txt
- cat "${files[RANDOM % ${#files[@]}]}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement