The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com




Thread: telnet help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-08-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,790
IS there a telnet session command to display the weight? like show weight or something? This example assume there is; that exit ends the connection; someaddr is the telnet connect string for your scale; there is no authentication.

This puts telnet in command line mode.


Code:
telnet <<EOF > weight.lis
open someaddr
show weight
exit
EOF

cat weight.lis