Link to home
Start Free TrialLog in
Avatar of RonJD
RonJD

asked on

chat Utility

I am seeking a general utility that can communicate from a batch script with an interactive program such as smbclient. I want to invoke the shell script and have no further interaction.  Is chat the program?  Is another better?  Where can I find it? I'm running RedHat 6.5, Mandrake
Avatar of t2pp
t2pp

For smbclient, use the -c option and seperate your commands with a semicolon. This works very well.
Avatar of RonJD

ASKER

This answer solves my immediate problem--thanks!  
But my question was more general.  Is is the norm in Linux for applications to have command-line options that can be operated in batch mode. If not, is there a keystroke emulation program out there that can automatically interact with programs that require a dialog with the user?
Avatar of RonJD

ASKER

Adjusted points to 75
ASKER CERTIFIED SOLUTION
Avatar of crouchet
crouchet

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial