The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with script, trying to get tcpdump and rotate the file every 300 seconds livewire Shell Programming and Scripting 3 09-10-2008 10:45 AM
is there any way to excute script every N seconds? umen Shell Programming and Scripting 7 03-30-2006 04:06 AM
How can I wait for PID to finish in another shell superdelic UNIX for Advanced & Expert Users 2 01-17-2005 10:17 PM
wait in shell scripts Vinaya Shell Programming and Scripting 1 09-23-2004 08:29 AM
make my script wait Blip Shell Programming and Scripting 4 01-23-2004 12:30 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-30-2007
gopsman gopsman is offline
Registered User
  
 

Join Date: May 2007
Posts: 25
wait for 5 seconds in shell script

hi

how can i wait for 5 seconds inside my shell script? 'wait 5' command doesnot seem to be working?
  #2 (permalink)  
Old 08-30-2007
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
What exactly is the scenario. You can use sleep 10 to sleep for 10 seconds.
  #3 (permalink)  
Old 08-30-2007
namishtiwari namishtiwari is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2007
Location: Bangalore
Posts: 377
use sleep command instead of wait.and the wait time you can put accordingly.

Thanks
Namish
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:39 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0