Difference between revisions of "CLI I/O Redirection"

From FreekiWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
 +
The Command Line Interface (CLI) provides three types of input/output (I/O) flow.
 +
 +
# stdin  = "Standard In;" input passed to a command
 +
# stdout = "Standard Out;" output from a command
 +
# stderr = "Standard Error;" error output from a command
 +
 +
This means that there are two types of output from any command stdout and stderr. It also means that you can separate them.
  
 
== Commands ==
 
== Commands ==

Revision as of 11:46, 22 March 2008

Introduction

The Command Line Interface (CLI) provides three types of input/output (I/O) flow.

  1. stdin = "Standard In;" input passed to a command
  2. stdout = "Standard Out;" output from a command
  3. stderr = "Standard Error;" error output from a command

This means that there are two types of output from any command stdout and stderr. It also means that you can separate them.

Commands

Abbreviations

Examples

Quiz