I wanted to know the difference between the following two commands
2>&1 | tee output.log
|& tee output.log
Looking for pipes to save command's output I've reached this explanation. I've been using the former, but now I wonder if the latter saves typing with same result or there's something I don't understand (or I don't know).