diff --git a/Misc/testing_tee.sh b/Misc/testing_tee.sh new file mode 100755 index 0000000..764a9de --- /dev/null +++ b/Misc/testing_tee.sh @@ -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