Alternative to the tee command whitout STDOUT
- by aef
I'm using | sudo tee FILENAME to be able to write or append to a file for which superuser permissions are required quite often.
Although I understand why it is helpful in some situation, that tee also sends its input to STDOUT again, I never ever actually used that part of tee for anything useful. In most situations, this feature only causes my screen to be filled with unwanted jitter, if I don't go the extra step and manually silence it with tee 1> /dev/null.
My question: Is there is a command arround, which does exactly the same thing as tee, but does by default not output anything to STDOUT?