Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing output of a command to screen as well as sending it to file

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Let us say:

echo "Hi John"

I would like to print it on screen as well as send the output to a file.

thanks
 
I believe there is a "tee" command that does this. I am a newbie myself as well, but I remember reading about that somewhere yesterday.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top