Table of Contents

About

Log - Logging in bash

Snippet

  • redirect all output to log file and stdout placed in the same location of the script
exec > >(tee -i /myLog.log)
exec 2>&1