How to enter a bash script at the command line, but not process the script until the entire script h

Posted by MHGL on Server Fault See other posts from Server Fault or by MHGL
Published on 2010-03-18T16:27:36Z Indexed on 2010/03/18 16:31 UTC
Read the original article Hit count: 299

Filed under:
|
|
|

I am performing some interactive testing using HP's QuickTest Professional and Linux. I am connecting via SSH and feeding the BASH script lines directly into the command line.

The problem I'm having is that the script executes as it is entered. I'm attempting to find a way that I can feed the script to the command line, but save execution until the entire script is complete.

Anyone have any experience around doing this? I'll admit, it isn't the ideal way to perform this, but it's what I'm faced with at the moment. Any other suggestions are welcome.

Thanks!

© Server Fault or respective owner

Related posts about bash

Related posts about linux