Wouldn't it work if you did
2>&1
as part of the redirect? 2>&1
as part of the redirect?(Probably this is an ideal LLM question though!)
I likely got that memorized from the time that I wrote a shell (/bin/sh) tutorial back in the day.