Advertisement
Guest User

Untitled

a guest
Mar 8th, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #!/bin/bash
  2. # Rename the directories to suit your needs. I just pasted my bash_profile.
  3.  
  4. files=(/Users/haley/catdir/cat*)
  5. clear
  6.  
  7. # emergency.txt is just a text document with ASCII art that reads "emergency cat"
  8.  
  9. cat /Users/haley/catdir/emergency.txt
  10. cat "${files[RANDOM % ${#files[@]}]}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement