![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Webpage to Telnet via Perl and Expect: Telnet problem? | jondo | Shell Programming and Scripting | 1 | 07-22-2008 12:35 AM |
| Telnet and su - | uXion | AIX | 0 | 07-27-2006 02:33 PM |
| telnet | eykyn17 | AIX | 3 | 02-16-2006 01:17 PM |
| telnet on AT&T MLS V | smartgod | Security | 1 | 07-01-2005 07:41 AM |
| Telnet For DMS | r00t.$h3ll | Security | 1 | 02-14-2002 09:14 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
telnet help
Using solaris 10.
I have a scale with a nic card that allows for telnet sessions. Telnet to the scale works fine. I can capture the entire telnet session to a file. Now the problem; is there a way to capture the weight only from the scale, and move it to a text file. Thank You, Allison |
|
||||
|
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 |
|
||||
|
Not logon required. To extract output i.e (XX. lb. gross) where XX = pounds it requires sending {alt} + 149. Is there a way to send these commands in a script ?
|
| Sponsored Links | ||
|
|