![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| scp automated script | gholdbhurg | UNIX for Advanced & Expert Users | 5 | 10-27-2008 01:23 AM |
| i want automated script | arghya_owen | Shell Programming and Scripting | 3 | 06-16-2008 10:02 AM |
| Need automated shell script please | uneex | Shell Programming and Scripting | 2 | 05-02-2008 09:36 AM |
| Need help for automated shell script | uneex | Shell Programming and Scripting | 4 | 05-01-2008 01:15 PM |
| help for automated script | splax | UNIX for Advanced & Expert Users | 4 | 12-26-2006 05:36 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to execute script one by one in automated env
I have scripts and when I run mannualy it passed but I would like to run one by one at a time like automated. But When I run in one by one in automated the 1st one is executed and did not jump to 2nd one.Please suggest how to run one by one at a time in automated env.
sample of Script E=`${AgcfShell} -l ${AgcfUser} ${AgcfIp} "trap '' INT;. ~/.profile >/dev/null 2>/dev/null; /usr/bin/hostname"` D=`${AgcfShell} -l ${AgcfUser} ${AgcfIp} "trap '' INT;. ~/.profile >/dev/null 2>/dev/null; /usr/bin/uname -a"` if [ "$D" == "SunOS $E 5.10 Generic_127112-10 i86pc i386 i86pc" ] then echo "PASSD"; else echo "FAILED"; fi is there anything have to change in the script ?? |
|
||||
|
Quote:
when I am running like Script1 & Script2 & it is automated running but if Script1 is failed but results is showing passed ..please suggest.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|