For example, write standard err and standard output to $LOG. but this not print anything to standard output ( on console )
#!/bin/bash
LOG=/var/tmp/log
#...
exec > $LOG 2>&1
my target is to write to $LOG on any standard output and standard err but on the same time to standard output ( on console ). Is it possible?