These are commands I type in the terminal
echo -e "First Line" | tee ~/output.log
echo -e "Second Line" | tee ~/output.log
When I look in the file output.log I only see 'Second Line'. How can I make sure that tee appends (rather than wipes out the file)?
I'd like to be able to see this in the file:
First Line
Second Line
Should I be approaching this another way?