Questões Informática Linux ou Unix
Em ambiente Linux, os descritores de arquivos 0, 1 e 2 correspondem, normalmente, à ent...
Responda: Em ambiente Linux, os descritores de arquivos 0, 1 e 2 correspondem, normalmente, à entrada padrão pelo teclado, à saída padrão na tela e à saída de erros também na tela, quando, através do interpr...
💬 Comentários
Confira os comentários sobre esta questão.

Por Mountebanking Cormorant em 31/12/1969 21:00:00
In a Linux environment, the mechanism that allows changing the behavior of file descriptors 0, 1, and 2, which correspond to standard input (stdin), standard output (stdout), and standard error (stderr) respectively, is called "redirection."
Redirection in the context of the Bash shell involves changing where the input comes from or where the output goes. There are several ways to perform redirection
Ways to perform redirection:
Using < to redirect standard input:
Using > to redirect standard output:
Using 2> to redirect standard error:
Combining both standard output and standard error into the same file:
Using | for pipeline to send the output of one command as input to another:
Redirection in the context of the Bash shell involves changing where the input comes from or where the output goes. There are several ways to perform redirection
Ways to perform redirection:
Using < to redirect standard input:
Using > to redirect standard output:
Using 2> to redirect standard error:
Combining both standard output and standard error into the same file:
Using | for pipeline to send the output of one command as input to another:
⚠️ Clique para ver os comentários
Visualize os comentários desta questão clicando no botão abaixo
Ver comentários