I have a situation where I have a master shell script (in zsh) which calls other scripts to facilitate a process. What I would like is to have the output of my subscripts to be piped to terminal shell and a log file.
Master Script:
./run_script1.sh >&1 log1.txt 2>&1
./run_script2.sh >&1 log2.txt 2>&1
But when executing I don't get anything on terminal from the output of the other scripts, it only appears in the log file.