Using the timeout Command to Exit a Command After Specified Time Limit
By
Putorius.net
In this article we use examples and experimentation to demonstrate the basic usage of the timeout command. We also discuss sending different signals as well as preserving the exit status of commands.