title: Time condition loop in shell
body: <p>I have just started learning shell script recently, so I don't know much about it.</p>
  
  <p>I am trying to find example of time based while loop but not having any luck.</p>
  
  <p>I want to run a loop for specific amount of time, let's say 1 hour. So loop runs for an hour and then ends automatically.</p>
  
  <p>Edit: This loop will run continiously without any sleep, so the loop condition should be based on loop's start time and current time, not on sleep.</p>