UNIX

Pipe output to screen and log file in UNIX

# pkgadd curl 2>&1 | tee -a install.log -a is append, so all output is appended to install.log in this instance.

Share