Results 1 to 4 of 4
I want to automate a s/w execution with a shell script.
But tht s/w asks for various user i/ps so how can i give these values from shell script?...
- 02-04-2010 #1Just Joined!
- Join Date
- Jul 2009
- Posts
- 17
Shell script to automate s/w execution
I want to automate a s/w execution with a shell script.
But tht s/w asks for various user i/ps so how can i give these values from shell script?
- 02-04-2010 #2
using Here Documents would solve your issue.
HTH- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 02-04-2010 #3Just Joined!
- Join Date
- Jul 2009
- Posts
- 17
hi,
But it doesn't work with other commands like scp or for installing any s/w.
- 02-04-2010 #4
I'm not wrong, for things like ssh/scp you can't use here doc, but creating password less login should work.
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote