$ cat /tmp/slowCommand sleep 30Here is how you make sure it does not take more than 5 seconds:
$ timeout 5 /tmp/slowCommand
$ cat /tmp/slowCommand sleep 30Here is how you make sure it does not take more than 5 seconds:
$ timeout 5 /tmp/slowCommand
Nestor Urquiza is a hands-on technologist, security-first thinker and results-oriented business executive. An Electronics Engineer dealing with hardware, embedded/web software development, security, compliance and full business funnel process engineering. Keeping things simple and innovating top-down, from Marketing to Accounting.
No comments:
Post a Comment