Linux timeout Command

In this tutorial we learn how to use timeout commmand in Linux. timeout command is timeout - run a command with a time limit

What is Linux timeout Command?

In this tutorial we learn how to use timeout command in Linux. timeout command is timeout - run a command with a time limit

timeout Syntax

       timeout [OPTION] DURATION COMMAND [ARG]...
       timeout [OPTION]

timeout Examples

timeout Command Manual / Help

We can use man and info command to see the manual page of timeout command.

timeout command also have --help option to show list of options.

To open man page for timeout command we can use command below. To exit man or info page you can press q.

man timeout

To open info page for timeout command we can use command below.

info timeout

To open help page from timeout command we can run command below.

timeout --help

Linux timeout Command Source Code

You can find timeout command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use timeout in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.