Question: what is 1 &2 in bash?
Answer: Recap. There are two places programs send output to: Standard output ( stdout ) and Standard Error ( stderr ); You can redirect these outputs to a different place (like a file); ... Using 2>&1 will redirect stderr to whatever value is set to stdout (and 1>&2 will do the opposite).