>_ IzzyLab

Topic breakdown

The timeout utility runs a command with a time limit and, if it doesn't finish in time, kills it with a signal. An important detail is the return code: a command interrupted by timeout gets not an ordinary code but a special one (described in man timeout, the exit status section), which lets scripts tell "the command ran out of time" apart from its own errors. The last command's code always sits in the $? variable.

What's checked

  1. timeout code written

What it looks like