[NTLUG:Discuss] Complex Script question

Eric Schnoebelen eric at cirr.com
Fri Jun 13 22:14:52 CDT 2003


Jack Snodgrass writes:
- Are there any easy ways to do this? I know that I 
- can do something complex ( create special file, wait
- for it to be removed, go onto the next step, etc ) but 
- I was wondering if there was a 'wait for pids to die' 
- type command. 

	Yes, it's called `wait', and available in most bourne
derived shells.  It will wait for all oustanding background jobs
that are children of this shell to complete before proceeding.

--
Eric Schnoebelen		eric at cirr.com		http://www.cirr.com
	    Ignorant people in preppy clothes are more dangerous
	      to America than oil embargos.  -- V. S. Naipaul



More information about the Discuss mailing list