Web lists-archives.com

Re: gathering trace rute output to a file?

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,

On Sun, 1 Jul 2018, Ben Caradoc-Davies wrote:

On 01/07/18 15:45, Karen Lewellen wrote:
 Hi folks,
 when running tracerute, is there an option that exports the results to a
 file that can be shared?

Can you use shell redirection? In bash:

traceroute host &>logfile

In other Bourne shells:

traceroute host >logfile 2>&1

These commands redirect both standard output and standard error to logfile. It is also possible to redirect them separately. See a shell guide for details.

Kind regards,

Ben Caradoc-Davies <ben@xxxxxxxxxxxx>
Transient Software Limited <https://transient.nz/>
New Zealand