Table of Contents

What are Shell Redirections? of Standard Streams

About

Before a command is executed, its input (standard input stream) and output (standard output stream and standard error stream) may be redirected using redirection operators by the command line interpreter.

Redirection may also be used to open and close file handles/file descriptors for the current shell execution environment.

Redirection allows commands' file handles/file descriptors to be:

and can change the files the command:

Operator

Generally, a redirection goes:

See: