144 - tee command
admin - Mon, 07/19/2010 - 15:54
Accept output from another command and send it both to standard output and to files (like a T or fork in the road).
Ex.
# top -b -d 1 -n 7 | tee top_resilt.txt # ls *.txt | wc -l | tee count-02.txt count-01.txt # ls -l | tee savefile.txt |
Options :
-a, --append
Append to files; do not overwrite.
-i, --ignore-interrupt
Ignore interrupt signals.
--help
Print a help message and then exit.
--version
Print version information and then exit.
Linux:
- Log in to post comments