Tee Command in Linux - with examples
HTML-код
- Опубликовано: 7 июн 2024
- Tee Command in Linux - with examples
So the tee command line utility allows you to spur off from your current command pipeline at a given point and write to a file, while allowing you to continue with your pipeline.
Some common uses for tee include downloading files and computing hashes, while the file is downloading. So you can confirm against a provided hash that the file wasn't corrupted during download.
Another common use for tee is to watch the output of your command pipeline while you are also saving the output to a file for later reference. Watching logs is like clock watching, sometimes you just need a summary of the data in your pipeline once it completes doing whatever it is doing.
You can use tee for this too. So at the end of your pipeline if you pipe into tee you can save the output for later reference and pipe on to some other utilities to calculate a summary, like count the number of lines processed etc.
Subscribe: ruclips.net/user/linuxlee...
Blog: www.linuxleech.com
Twitter: / linuxleech
Facebook: / linuxleech
Google+: www.gplus.to/linuxleech - Наука
The animation at the beginning was all I needed to get the gist of it
This video was my cup of tea. Thanks!
Great! Thanks for the video.
Good visual explanation.
Nice video but explanation too fast . It's better you slow down and explain it slowly .
Remember you are talking to a crowd to whom many are new to Linux.
You can always watch at half speed.
Thank you so much :)
Thanks, simply put. This was described overly complex by my course lol
Nice graphic work
Why you don't have 1M yet???
really enjoyed the typing sound....
I just realize that I can't do this in Windows. Is there any workaround? Logging cmd consoles outputs.
install a linux shell on windows
too fast. i didn't understand anything! :(
Explanation is too general. Not good for someone who has literally NEVER USED TEE.