LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-03-2004, 02:31 AM   #1
jwijesundra
Member
 
Registered: Jun 2004
Posts: 52

Rep: Reputation: 15
Pause between commands when scripting


Hey,
I am creating a shell script, however the commands are being executed too fast. After the first command is called, there should be a delay before the next one is executed. Does anyone know how this can be done?

Thanks
 
Old 07-03-2004, 02:33 AM   #2
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
use the sleep command it defaults to seconds. so sleep 30 would be 30 seconds or sleep 1h would be sleep for 1 hour
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
shell scripting commands and yum= geminigal Linux - Newbie 2 05-13-2005 03:12 AM
Automating simple commands, scripting or programming? entob *BSD 3 09-01-2004 01:56 AM
shell scripting -- passing commands mehesque Linux - General 4 06-25-2004 10:28 AM
I need a scripting lanuage with case and shell commands rob.rice Programming 1 04-18-2004 02:17 PM
.s batch file commands - pause??? webamoeba Linux - Newbie 2 01-27-2004 11:15 AM


All times are GMT -5. The time now is 05:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration