When I did not create the file junk2 by any means, the output of ls | wc -w was the same as the output of ls | wc -w | tee junk2. When I delete the (rm) junk2 file and output the same command again, the results of the two are inconsistent
I have a need to set up console logging for some bits of equipment. We use a console router so the format for connecting is:
ssh <user>:<line number>@<console router fqdn>
I want to log the output so I am actually using:
ssh <user>:<line number>@<console router fqdn> | tee <filename>.txt...