Tested out the tee command
This commit is contained in:
1 parent
87d3c6739b
commit
ea53d81fef
1 file changed
+13
Executable
+13
@@ -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
|
||||
Reference in new issue
Block a user