Jump to content

Need Help In Unix Please


massmaharaj

Recommended Posts

i would like to call a script , from another script

1st script has set of commands

2nd scripts has ftp connections

The requirement is i need to call 2nd script in first script

can you please help me in this how to write


-pavan

Link to comment
Share on other sites

[quote name='ChittiNaidu' timestamp='1325675997' post='1301237523']
Shell lo aite...to call a script, simply issue the command as you would type it at the normal prompt.....
[/quote]

aa script ki path iyyava

Link to comment
Share on other sites

[quote name='Little Star' timestamp='1325676057' post='1301237533']

aa script ki path iyyava
[/quote]

ade vayya....

path lekunda ela istai.....in case same location lo rendu scripts unte ivvanavasaram ledu...

vere palce lo unte ivvale.....adi basic rule ga....

Link to comment
Share on other sites

[quote name='massmaharaj' timestamp='1325676181' post='1301237558']
two scripts will be in same location
[/quote]

on the safer side..regular practise is to give full path....adi general scripting practise...

Link to comment
Share on other sites

[quote name='massmaharaj' timestamp='1325676244' post='1301237566']
emi command ni pettali 1.sh lo
[/quote]

#! /usr/bin/ksh

/path/to/A.sh
/path/to/B.sh
/path/to/C.sh

Link to comment
Share on other sites

×
×
  • Create New...