This question already has an answer here:
I would like to dispay the ouput (STDOUT) and also pipe to the next command. I know "tee" to display the result and write to a file, but instead to write to a file, I want to pipe to another command.
$ command1 --option1 --option2 | MAGICCOMMAND | jq -e '.returnCode'
I would have the output from "command1 --option1 --option2" and "jq -e ..."