tee—replicates the standard output

tee [ -ai ] [--append] [--ignore-interrupts] [--help] [--version]
   [ filename… ]

tee copies the standard input to the standard output and one or more files, as in ls|tee outfile. Output goes to screen and to outfile.

Example A.60.
					date | tee nowfile
				

Explanation

The output of the date command is displayed on the screen and also stored in nowfile.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.219.63.95