Sometimes when I write code I found that I made a stupid mistake and some loop takes almost all CPU time forever. Is there a way the running time of a program for example to 10 seconds in bash?
Asked
Active
Viewed 1,325 times
man timeout
: "Some platforms don't curently support timeouts beyond 2038" – Hagen von Eitzen Apr 04 '15 at 18:36