But ">" and ">>" redirect only the "normal output". The errors, if any, usually go through a different stream and must be directed separately. DaleDe's suggestion of using "2>&1" means that the errors (2) are redirected to the same place as the output (1).
|