Www.mitntraining.com

The reason is that we redirect stderr to the same place as stdout before we redirect stdout. So, stderr goes to the screen, but stdout goes to the file specified. Redirection can also be combined with pipes like this: sort < names | head or ................
................