Fedora Linux Support Community & Resources Center
Old 17th December 2007, 06:10 PM
aleph Offline
Banned (for/from) behaving just like everybody else!
Join Date: Jul 2007
Location: Nanjing, China
Posts: 1,332
Tell the shell to wait 10 seconds --- how ?

Maybe this is not a smart question but I'm writing a bash script that should do something like this: start a process of application A, wait for it to exit, and after some time (e.g. 10 seconds), do the rest of the script. How can I tell bash to wait 10 seconds doing no-ops? Maybe I could write a loop that catches the system time, test whether the time is up and continue/break? But this doesn't seem to be a precise timing procedure.

Pre-thanks for all.
from rlyeh import cthulhu
Reply With Quote
Old 17th December 2007, 06:12 PM
sideways Offline
Retired User
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
sleep 10

Reply With Quote

seconds, shell, wait

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a given proccess wait for its child (wait() and waitpid don't work) A_n_H Programming & Packaging 9 3rd May 2009 04:58 AM
Should I Wait for Eight? StefanJ Installation, Upgrades and Live Media 4 13th September 2007 05:32 PM
wait for 2 seconds munna_dude Programming & Packaging 9 17th May 2007 11:27 AM
Wait, or not to wait? Pyntix Fedora Focus 9 9th May 2007 05:24 PM

Current GMT-time: 17:39 (Monday, 21-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat