SyntaxFix
Write A Post
Hire A Developer
Questions
In Python (question was originally tagged Python) you need to import the time module
import time time.sleep(1)
or
from time import sleep sleep(1)
For shell script is is just
sleep 1
Which executes the sleep command. eg. /bin/sleep
sleep
/bin/sleep