2 examples for tee

{{ score }}
  # echo the text "hi" to STDOUT and to file.txt
echo "hi" | tee -a file.txt
        
{{ score }}
  # save your ruby irb session as you go
irb | tee -a save-todays-ruby-session.hist