How to Use the Linux Sleep Command to Pause a Bash Script

Posted by linuxize on May 14, 2019 12:42 PM EDT
linuxize.com; By linuxize
Mail this story
Print this story

Sleep is a command line utility that allows you to suspends the calling process for a specified time. In other words, the sleep command pauses the execution on the next command for a given number of seconds.

The sleep command is especially useful when used within a bash shell script, for example when retrying a failed operation or inside a loop.

In this tutorial, we will show you how to use the Linux sleep command.

Full Story

  Nav
» Read more about: Groups: GNU, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.