-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Jul 01, 2018 at 07:19:02PM +0100, mick crane wrote: > On 2018-07-01 06:00, Karen Lewellen wrote: > >Well it seems it works like this. > >traceroute domain-to-be-traced.com > trace-results.txt > >or something like that. > >process worked for me just now. > >Thanks as usual, > >Karen > > I'm asking 'cause I don't really know. > What's the difference between a pipe "|" and sending the result > somewhere ">" ?
The pipe starts a process (using the command and parameters right of the pipe symbol) and sends the stdout of the "left" process to the stdin of the right process as in: ls -l | less ... this would send the output of "ls -l" to the input of "less", which pages that input for you, or ls -l | grep lolcat ...which sends the output of "ls -l" to the input of "grep lolcat", this last filtering out the lines containing the pattern "lolcat", while ">" would redirect the standard output to a file, like in ls -l > /tmp/result ...which will create a file /tmp/result (or replace an existing file) and fill it with "ls -l"'s output. HTH - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAls5IYEACgkQBcgs9XrR2kY3mgCfZ6zZtnO0bRxpr3BifbdFcA/6 ih4Anji8Usn58RenhESkc464K6mXNgLI =+jig -----END PGP SIGNATURE-----

