Quote:
Originally Posted by era
Perhaps the script command would be closer to what you are looking for. Or you can run the shell with tee, something like
Code:
sh -ix <commands.txt 2>&1 | tee -a /path/to/output.txt
You'd put your canned commands in commands.txt (mainly because typing anything into a shell which is running with redirection is not exactly user-friendly).
|
Hi era,
Thanks for your advice.
What does commands.txt refer to?
e.g. to run "ls -l" command. What will be the complete command line? TIA
B.R.
satimis