LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Help needed on shell script

[ILUG] Help needed on shell script

Ruairi Newman ruairi at tech-mad.org
Thu Dec 7 12:12:01 GMT 2000


> 
> Could somebody point me in the right direction regarding writing a
> script that starts a process and then waits until that process goes into
> sleep mode before going on with the script.
> 
Sleep mode??  What exactly do you mean?  If you're just looking to wait
til a process completes successfully before continuing, use '&&' as in:

]$ cd / && ls -l

which cd's to root and does an ls.

If you want to wait til a process is backgrounded successfully in a
script use:

(path_to_process $) && path_to_next_process 

If this doesn't help mail me specific details of what you want to do.

Rgds,



-- 
Ruairi Newman
http://tech-mad.org/

"Anyone can build a fast CPU.  The trick is to build a fast system." -
Seymour Cray





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell