Bash script - using "expect"?
I'm trying to write a script that will login to a sonicwall and run the export config command for me. Now... sonicwalls are quite annoying, you can't pass your username straight in, they look like this http://tinyurl.com/atawg5l)
So I somehow, have to tell the script to pass my username and password in and then run the one line command I'd like. Any ideas? Should I be using expect? Really doing my head in... |
autoexpect is the easiest way to write expect scripts. You just do stuff and it learns to copy you.
|
Thankyou :)
|
All times are GMT -5. The time now is 06:28 AM. |