Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to timeout "time" command. For example:
timeout -s 1 time sleep 5
I never get timeout. Is any way to do this?
The -s option in timeout is for mentioning signal to send.
You just need to remove -s:
timeout 1 time sleep 5
Required, but never shown