NAME

tee – read from standard input and write to standard output and files  

SYNOPSIS

tee [OPTION]… [FILE]…  

DESCRIPTION

Copy standard input to each FILE, and also to standard output.

-a, –append
append to the given FILEs, do not overwrite
-i, –ignore-interrupts
ignore interrupt signals
–help
display this help and exit
–version
output version information and exit

If a FILE is -, copy again to standard output.  

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.