Which command can be used in a shell script to introduce a delay, often used for debugging or to pause the execution?

  • sleep
  • wait
  • pause
  • delay
The sleep command is used in a shell script to introduce a delay. You specify the number of seconds to pause the script's execution. It's commonly used for debugging to observe intermediate results or to add pauses for various purposes.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *