1 |
On Tue, Apr 20, 2010 at 10:45:27AM -0500, Paul Hartman wrote: |
2 |
> > /dev/fd/0 is /dev/stdin |
3 |
> |
4 |
> I learned something new, thanks :) |
5 |
|
6 |
To complete your education :) fd stands for file descriptor. |
7 |
|
8 |
fd/0 = stdin |
9 |
fd/1 = stdout |
10 |
fd/2 = stderr |
11 |
|
12 |
You can create your own file descriptors and use them to manipulate |
13 |
opened files. See man bash for more info. (It is, for example, |
14 |
necessary if you do CLI scripting with a user interface using Dialog.) |
15 |
|
16 |
Cheers, |
17 |
|
18 |
W |
19 |
-- |
20 |
Willie W. Wong wwong@××××××××××××××.edu |
21 |
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire |
22 |
et vice versa ~~~ I. Newton |