I am trying to pass a string to command which waits for input to be entered on command line, I need to automate the user input process, luckily the string is static it wont change, I can hardcode it. Things I have tried so far
echo "hardcoded string" | /tmp/command/tmp/command < hardcoded.txt
It still it asks input, i cannot use expect or autoexpect.
1 Reset to default