timeout

Run a command with a time limit
  http://www.porcupine.org/forensics/tct.html
  0
  no reviews



Timeout executes a command and imposes an elapsed time limit. when the time limit is reached, timeout sends a predefined signal to the target process.

please note that recent coreutils (>= 7.5-1) provide a timeout binary as well so you probably won't need this package anymore nowadays.