Web lists-archives.com

Re: gathering trace rute output to a file?




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Jul 01, 2018 at 09:14:00PM +0100, mick crane wrote:

[...]

> yes I use them a bit but just wondered "|" is sending to a process I
> guess but the process doesn't exist until asked for,

Yes, the shell starts the processes and connects their file descriptors.
The kernel is involved in hauling the actual data around. Or something
like that.

>                                              whereas ">" is
> sending to what ? some internal kernel thing that dumps the output
> in a file ?

The shell opens the file for writing and connects the file descriptors
in an appropriate way. The kernel... you got the idea.

> forget I said anything.

:-)

Cheers
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAls5N4cACgkQBcgs9XrR2kbHfwCfavHQtBh0E3jDZEzI76f/dSU/
uRcAnAwOAYXg3JjxOCa7vqWrzRKKuCWY
=EqZl
-----END PGP SIGNATURE-----