Skip to content
Related Articles

Related Articles

sleep command in Linux with Examples
  • Last Updated : 27 May, 2019

sleep command is used to create a dummy job. A dummy job helps in delaying the execution. It takes time in seconds by default but a small suffix(s, m, h, d) can be added at the end to convert it into any other format. This command pauses the execution for an amount of time which is defined by NUMBER.

Syntax:

sleep NUMBER[SUFFIX]...

Example:

Note: If you will define more than one NUMBER with sleep command then this command will delay for the sum of the values.

Options provided by sleep command:

  • –help : It displays help information.

  • –version : It displays version information.

My Personal Notes arrow_drop_up
Recommended Articles
Page :