$ /bin/exec >/path/to/file.out
$ /bin/exec 2>/path/to/file.out
$ /bin/exec 1>&2
# or in most instances...
$ /bin/exec >&2
$ echo "Error: You did bad!" >&2
$ /bin/exec 2>&1
$ /bin/exec &>/path/to/file.out
# as an alternative
$ /bin/exec >/path/to/file.out 2>&1