timelimit

simple utility to limit a process's absolute execution time

Install

All systems
curl cmd.cat/timelimit.sh
Debian Debian
apt-get install timelimit
Ubuntu
apt-get install timelimit
image/svg+xml Kali Linux
apt-get install timelimit
Windows (WSL2)
sudo apt-get update sudo apt-get install timelimit
OS X
brew install timelimit
Raspbian
apt-get install timelimit

timelimit

simple utility to limit a process's absolute execution time

The timelimit utility executes a command and terminates the spawned process after a given time with a given signal. A "warning" signal is sent first, then, after a timeout, a "kill" signal, similar to the way init(8) operates on shutdown.