Posted by: Gangadhar on: December 17, 2008
We can use expect to automate the interactive scripts which may expect some inputs from the user. Search in the net for more info. Following code snippet can give you can idea how an expect script may look like. The “cmdFile” may contain some commands to achieve some functionality like changing the current directory and [...]