Bash > mylog exec > >(tee -a mylog) 2> >(tee -a mylog >&2) echo A >&2 cat file echo B >&2. This ensures that the log file is correct.
確定! 回上一頁