Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Question - Order of Execution in a script

Status
Not open for further replies.

yowza

Technical User
Nov 28, 2001
121
US
I have about 20 patches I want to add to a Solaris box. Root shell is ksh, there is a #/bin/sh at the beginning of the script. Basically, I have 20 unzip commands followed by 20 patchadd commands.
unzip xx.zip
.
.
.
patchadd 123456-02
.
.
My question is will patch 1 completely finish unzipping before going to patch 2 to unzip? The same for adding the patches. Will the first patchadd complete before going to the second patchadd?
As you can tell, scripting isn't one of my better areas:)) Any help is greatly appreciated.

Thanks,
yowza
 
Unless the last character on the script line is an ampersand (&), the flow of commands is synchrone.

Hope This Help
PH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top