Today’s COTD is the “tee” command.
Have you ever wanted to redirect the output of a script or program to a file, but be able to view it right away? Without putting the file in the background, and then tailing the file?
The tee command allows you to do just that.
Here is how we could use [...]
Tag Archives: textutils
COTD: tee - read from standard input and write to standard output and file
March 3, 2009 – 10:04 pm
COTD: wc - print newline, word, and byte counts for each file
November 30, 1999 – 12:00 am
The wc command is very useful. It’s a simple little command, but I use it all the time. The wc command basically counts the number of characters, number lines, or the number of words. Some version can also show the length of the longest line.
Using it is simple. Pass the output of another command to [...]