Q: I've read your articles about using OpenSSH on IBM i and your articles discussing how to use Expect to automate the process when an interactive password is required. So far, so good! But now I'd like to insert variables into my Expect script. The file name that I have to retrieve is based on the current date, so I can easily write code to calculate what the file name should be, but how do I insert it into my Expect script? A: I'd recommend writing a shell script to build ...

REGISTER NOW TO ACCESS THIS ARTICLE

All registered users get access to premium content on iPro Developer for free.

Already registered? here.