LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   sending data to standard out and to a text file at the same time. (https://www.linuxquestions.org/questions/linux-software-2/sending-data-to-standard-out-and-to-a-text-file-at-the-same-time-356175/)

liguorir 08-23-2005 11:54 AM

sending data to standard out and to a text file at the same time.
 
This sends 'text' to standard out
'echo text'

This sends data to a text file:
'echo text > data.out'

How do I do both? ( send data to standard out and to a text file. )

Kdr Kane 08-23-2005 12:14 PM

Use the command "tee".


All times are GMT -5. The time now is 02:20 AM.