How Do I Pause a Linux Script?

How Do I Pause a Linux Script?
Contents

How do you pause a command in Linux?

Fortunately, its easy to pause it through the shell. Just hit ctrl-z to suspend the program. This will bring you back to the terminal prompt, allowing you to run another program if you choose.

How do I delay a script in Linux?

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 of the next command for a given number of seconds.
…
How to Use the sleep Command

  1. s – seconds (default)
  2. m – minutes.
  3. h – hours.
  4. d – days.

20 февр. 2020 г.

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.