There's a timeout command that lets you limit the execution of any command by time, for example:
$ timeout 2s longprocess
There's a timeout command that lets you limit the execution of any command by time, for example:
$ timeout 2s longprocess
Copyright 2022 · All rights reserved