I'm running multiple commands in my Linux shell at the same time, e.g.
echo "Line of text 1" && echo "Line of text 2" && complexthing | xargs printf "complexspecifier"
I want to redirect all output to file1. I know I can add >file1 after each individual command but this seems bulky. How can I do this?