Quote:
Originally Posted by matthewg42
Why not just re-direct the output of the script to your output file?
Code:
#/bin/sh
./execute_some_script.sh > outputfile.txt 2>&1
|
I am afraid that redirecting output is not an option, from the script I want to telnet to a router and save the output of certain commands and redirect won't save that, the only option is to capture the terminal output log which is possible by the script command
Please correct me if I am wrong
Thanks