HOWTO: Use shell scripting to be really lazy and impatient

If you’re as lazy and impatient as I am and you just dont want to hit the Up arrow and in infinite rapid succesion, use this shell script

while [ true ]; do mii-tool eth1; sleep 1; done

Oh yeah, hit CTRL+C when you’re done

-James

About james

Chief Technology Officer Atlantic Metro Communications
This entry was posted in How-to. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>