Tested out the tee command

This commit is contained in:
Jack-Benny Persson 2013-12-27 14:41:09 +01:00
parent 87d3c6739b
commit ea53d81fef

13
Misc/testing_tee.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
# Jack-Benny Persson
# LX13
# Testing out tee
date | tee -a teeout.txt # This will appear on both terminal and in
# teeout.txt file (-a for appending data)
who | tee -a teeout.txt
echo "----" | tee -a teeout.txt
exit 0