This question already has an answer here:
I am running a command say
nmap www.somesite.com>file.txt so that i can get the output to file.txt. But if I do so, I am not able to see the output of that command on terminal. Is it possible to make it visble on terminal also.
I know the usage of
tee, but I wish to do this specifically in this way.