I want to know how to do the same as I can do on Linux:
The above command is found from http://unix.stackexchange.com/quest...ogs-to-stdout-and-a-log-file-in-the-same-time, but it does not work on FreeBSD 10.3
exec &> >(tee -a "$log_file")
The above command is found from http://unix.stackexchange.com/quest...ogs-to-stdout-and-a-log-file-in-the-same-time, but it does not work on FreeBSD 10.3