On Tue, Apr 20, 2010 at 10:45:27AM -0500, Paul Hartman wrote:
> > /dev/fd/0 is /dev/stdin
> 
> I learned something new, thanks :)

To complete your education :) fd stands for file descriptor. 

fd/0 = stdin
fd/1 = stdout
fd/2 = stderr

You can create your own file descriptors and use them to manipulate
opened files. See man bash for more info. (It is, for example,
necessary if you do CLI scripting with a user interface using Dialog.)

Cheers, 

W
-- 
Willie W. Wong                                     ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
         et vice versa   ~~~  I. Newton

Reply via email to