Shell script to input values to a utility automatically at the prompt
I have a tool which does a Write to a SAN disk based on user input values. this tool is mainly used to test the IO to the SAN array.
When we run the tool, it prompts for several user values like :
Thread count, threshold value, number of iterations, etc,.
Now, i want to automate this process using a shell script.
This script should basically input all the default values (hard coded) to the tool without asking for the user to input these values at every prompt.
So, what command can i use in a shell script which does automatic inputting of the value to the tool at the prompt instead of waiting for the user to input the values.
Thanks in advance.
|All times are GMT -5. The time now is 12:11 PM.|