Sunday 14 December 2008

looping example

Infinite loop to record the continuously changed statistics in a list of files:

while : ;do for file in my_files my_details my_status;do echo $file;cat $file >> $file.tmp;done;sleep 30;done

No comments:

Post a Comment

Tweets by @sriramperumalla