Execute a command with a timeout

Official Ubuntu circle with wordmark. Replace ...
Image via Wikipedia

Execute a command with a timeout

1
 timelimit -t100 somecommand

I found this in Ubuntu repos, and consider it better than timeout.

* View this command to comment, vote or add to favourites * View all commands by CodSpirit

commandlinefu.com

by David Winterbottom (codeinthehole.com)

URL: http://feedproxy.google.com/~r/Command-line-fu/~3/h72xZsssE4o/execute-a-command-with-a-timeout

Enhanced by Zemanta

About Amit Agarwal