This is also dependent on which shell you are using. The syntax you alluded to, and was corrected by wind was originally for Bourne shell. If you are using bash, you can also use cmd >& cmd.out. For csh, you should probably use cmd >&! cmd.out.