Kerem atam 1, 13 13 silver badges 26 26 bronze badges. Donal Fellows Donal Fellows k 18 18 gold badges silver badges bronze badges. I'd refactor a bit:! Cheers, K. Kokanee Kokanee 11 2 2 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.
Linked 2. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Reading expect script commands from file [closed] Ask Question. Asked 4 years, 5 months ago. Active 4 years, 5 months ago.
Viewed 2k times. Improve this question. Scott 9, 9 9 gold badges 37 37 silver badges 63 63 bronze badges. Add a comment. Active Oldest Votes. Alternatively, make sure you have execute permission set on the Expect script, and run it as would any shell script; without explicitly specifying the expect command. To use an Expect script, make sure you have the Expect utility installed.
To install Expect using a Yum server on Oracle Linux, enter:. You can write your own Expect scripts to perform batch jobs with the CLI. This section shows you how to create a very simple Expect script and run it with the CLI, but does not go into details about the programming languages used with Expect.
0コメント