- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: running synchronized scripts
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 05:42 AM
06-14-2002 05:42 AM
running synchronized scripts
I would like to execute two scripts in parallel in order to gain time.
Is it link to one of the following syntax?
GENERAL SCRIPT:
. $HOME/bin/script1
. $HOME/bin/script2
or
ksh $HOME/bin/script1
ksh $HOME/bin/script2
Thanks a lot.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 05:46 AM
06-14-2002 05:46 AM
Re: running synchronized scripts
$HOME/bin/script1&
$HOME/bin/script2&
wait
In a script will do it.
Whatever you try never forget the wait.
Then shell will continue when they are both finished.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 05:49 AM
06-14-2002 05:49 AM
Re: running synchronized scripts
$HOME/bin/script1 & $HOME/bin/script2
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 05:57 AM
06-14-2002 05:57 AM
Re: running synchronized scripts
. $HOME/bin/script1
and
ksh $HOME/bin/script1
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 06:14 AM
06-14-2002 06:14 AM
Re: running synchronized scripts
i.e. the suppllied script is sourced into the current shell.
This syntax is mainly used to set an environment and define some functions (e.g. a script library) which can be used from the sourcing shell or script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 07:00 AM
06-14-2002 07:00 AM
Re: running synchronized scripts
Marty