tee command (as in a T-splitter in plumbing) takes content from standard input, displays it and writes it to one or more files. It is useful if you need to write things to several files in one go. You have the choice to either overwrite the contents of the file or append new content to the end. tee is very simple and handy if you need something like this. It should be installed on all Linux systems as part of the GNU Coreutils package.
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.