Ever wanted to annoy a co-worker? Just run this in the background and log out (eject.sh &)
eject.sh
#! /bin/bash
while [ 1 -le 10 ]
do
eject -r
sleep 2
eject -t
done
EDIT: Want to really confuse them? Add a line in /etc/rc.d/[anything you want] to auto-start the script. Remember to test it on your own machine first to make sure it works ok from where you put it in /etc/rc.d/[whatever].
Note: To run it without a script, just do this:
while [ 1 -le 10 ]; do eject -r; sleep 2; eject -t; done &
Friday, February 29, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment