Redirect standard error to standard out with bash

Redirect standard error to standard out:

$ command 2>&1


$ ls /nofile | wc
ls: cannot access /nofile: No such file or directory
      0       0       0

$ ls /nofile 2>&1 | wc
      1       9      53