Computer Services & Repairs
Chicago and Suburbs
 

Table of Contents

 

6.04 File Descriptors

Symbol

Description

0

(standard input; Abbreviation stdin ),

1

(standard output; Abbreviation stdout),

2

(standard error; Abbreviation stderr)

 

Example:

[bash]$ cat xy 1> hold1 2>

Example: 2>&1 duplicating a file descriptor (declares file descriptor 2 to be a duplicate of file descriptor 1)

[bash]$ cat xy 1> hold 2>&1

 
 
   

Copyright 2006 © Burnnet Computers LLC.