Using the tee Command

Sometimes you’ll want to run a program and send its output to a file while at the same time viewing the output on the screen. The tee utility is helpful in this situation.

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.