Timeout for Mac – Stop executing command

I wanted to stop a executed command after a specified timespan.

You have to install coreutils to get the timeout command.


Brew on Mac:

brew install coreutils


Use timeout:

gtimeout 5 whois google.com

How to repair syntax highlighting for nano under the ssh terminal on Mac OS X:
M-U and M-E are the control in nano under mac to Redo and Undo. But
How to convert flv video files to mp4 with just a single command under mac
Es gibt ein neues Update (Mojave) für MacOS Seltsamerweise erschien es nicht als Update im
How to view 360 degree images under Mac OS X: The normal image viewer under

Hinterlasse einen Kommentar

Benachrichtige mich bei
Scroll to Top