In Unix shell redirection, file descriptors are numbered: 0 for stdin, 1 for stdout, and 2 for stderr. The '2>' operator specifically redirects stderr to a file. The single '>' overwrites, while '>>' appends, but '2>' is the key identifier for stderr redirection.