How to Redirect stderr to stdout in Bash

Posted by linuxize on Jun 6, 2020 6:51 AM EDT
Linuxize.com
Mail this story
Print this story

In Bash and other Linux shells, when a program is executed, it uses three standard I/O streams. Each stream is represented by a numeric file descriptor: The program output goes to the standard input stream and the error messages goes to the standard error stream. By default, both input and error streams are printed on the screen.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: GNU, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.