verbose output to terminal from within shell script?

Andrew Jorgensen andrew.jorgensen at gmail.com
Fri Feb 3 09:40:54 MST 2006


On 2/3/06, Gabriel Gunderson <gabe at gundy.org> wrote:
> Andrew McNabb wrote:
> > The kernel is spying on you.  It always knows where you are and what
> > you're doing.  And when you throw something at device major 5, minor 0,
> > it throws it right back at you.
>
> Creepy.  I felt better when I thought it was magic.

/dev/stdout works differently though, just for the record.  It's a
symlink to /proc/self/fd/1 which "self" is a symlink that always
points to /proc/yourpid when you are the running process.

Slightly less magical.



More information about the PLUG mailing list