I need help about the following
how to write $Log_general to Log1 and Log2 on both time (Without screen printing !)
remark: Log1 and Log2 files need to update separately from $Log_general, I dont want to copy Log1 to Log2!!
I try the following but only Log2 was update
echo $Log_general 1>Log1 1>Log2
or
./my_script.sh 1>Log1 1>Log2
or
the problem with the follwiong was that $Log_general output appears on screen
And I my target is to write only to the files: Log1 Log2
echo $Log_general | tee -a Log1 Log2