This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis
Zeke Sikelianos recently shared a tweet that describes the tee
command which I've never heard of. It can be used to write data to files and continue piping the same data to something else.
This is nothing world changing but in certain situations this can come in quite handy. ?
ls -l | tee file.txt | less
||
\/
file.txt
Reply to Stefan
This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis
Stefan Judis | Sciencx (2017-08-28T22:00:00+00:00) Write data to files and pipe it into other programs the same time (#tilPost). Retrieved from https://www.scien.cx/2017/08/28/write-data-to-files-and-pipe-it-into-other-programs-the-same-time-tilpost/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.