Re: How do i ccapture telnet session output into file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[quoted lines by Willem van der Walt<vdwaltw@health.gov.za> on November 1,...

Hi:

>All the answers to the above question refers to x /windows based ways.
>I want to catch the output of some commands that i do on a router into a
>file.

Use the script command. Run script with no arguments. This creates a subshell
and records the entire session in the file typescript. Do your telnet thing and
then exit from the subshell. The file typescript will contain the whole thing.

-- 
Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave@mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.
http://familyradio.com



_______________________________________________

Blinux-list@redhat.com
https://listman.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]