[NTLUG:Discuss] Simple way to repeat command every 'x' seconds

Jack Snodgrass jack+ntlug at mylinuxguy.net
Mon Apr 14 08:23:52 CDT 2003


I want to be able to do something like
do forever
   du -H -s 
   sleep 20 seconds 
loop

from the command line with a simple command. Is there something 
already out there that does this, or do I have to write a script? 

jack




More information about the Discuss mailing list