Shell / Commands

Redirection

English

Overview

Switching a command's input or output to a file or similar destination.

Details

A feature (>, <, >>, and so on) for changing where standard input, output, or error is connected, such as to a file. "2>&1," which merges standard error into standard output, is commonly used to produce a combined log.

More Linux terms