commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
repeat a command every X seconds , output show the creation of partition image using fsarchiver, each line show the size of the image.
There are 2 alternatives - vote for the best!
Short method of "while x=0; do foo ; sleep 1 ; done"
For use when you can't use "watch" (user-defined functions, aliases). This isn't mine - its an alternate posted in the comments by flatcap, and is the shortest and easiest to remember.
If you can do better, submit your command here.
You must be signed in to comment.