Why doesn't this dup2 functionality work?

Printable View