Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

sleep command in Linux with Examples

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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
Last Updated : 27 May, 2019
Like Article
Save Article
Similar Reads