Last Updated: February 25, 2016
·
269
· dreispt

"tee" directs output to stdout and also to a file

The tee command direct output to STDOUT but also to a file.
So, instead of using tail to follow the log, you can see it in your terminal and still have it stored in a log file.

Example $ ls | tee file