Telnet connection
18 November 2021
Linux
Shell
command
telnet
Telnet connection - save session into file
You can do it by using the tee command:
$ telnet $someIp | tee -a -i someFile
Example:
$ telnet 192.168.1.251 | tee -a -i modem.txt
File will be saved where the terminal path was