Skip to content

Instantly share code, notes, and snippets.

@sam-artuso
Created July 25, 2016 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sam-artuso/aab66650d850d389f600b94c7185b79c to your computer and use it in GitHub Desktop.
Save sam-artuso/aab66650d850d389f600b94c7185b79c to your computer and use it in GitHub Desktop.
Knock knock, Neo
#!/bin/bash
foo='Follow the white rabbit.'
# sleep 3
sudo echo > /dev/tty1
for (( i=0; i<${#foo}; i++)); do
sudo echo -n "${foo:$i:1}" > /dev/tty1; sleep .1
done;
sudo echo > /dev/tty1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment