Wednesday, June 1, 2011

Unix while loop

This is very good for repeating a command over certain period.

# tcsh
# while 1
while? date
while? sleep 10
while? end

No comments:

Post a Comment