Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
send command in expect
Name: scynthius726 Date: January 17, 2007 at 03:40:26 Pacific OS: UNIX CPU/Ram: unknown Product: unknown
Comment:
Hi,
I would like to use the contents of a file as the input to a send command in expect, does anyone know if there's a way of doing this?
If not, then what I'm trying to do is send the contents of a file in an email, and I want to do this from a shell script. Does anyone know how to do this?
Summary: Hi, I'm fairly new to tcl and expect. I'm using expect to ssh into another account, and dump the contents of a directory (via "ls -la"). I'm using log_file in order to get the stdout into a file on my...
Summary: I have an expect script that does sftp and the next step I would like to do is to run a database call using sqlplus. Using ksh, I can easily write that as: sqlplus -s << EOF scott/tiger spool t...
Summary: Can any one tell me how to duplicate a user id with useradd command in Sco/Solaris/Linux. I know it is useradd -o option. But i dont know the syntax ie how to use it. Pls help me. Thanks in advance ...