Do you have KSH Script examples ON UNIX SCRIPT using TELNET?

Posted on 2004-10-22
Medium Priority
Last Modified: 2013-12-26
Do you have Script examples ON UNIX SCRIPT using TELNET?

I do not have expert yet,  but I need to write a UNIX KSH script to telnet to a TEXT Based system,  and then enter a few commands to get to the right MENU and then save all of the screen return to a file so that I can verify the result later.

This is all in BACKGROUND JOB,  I will not run the TELNET Interactively!!!!

Please HELP;-)
Question by:wonggla
  • 2
LVL 21

Expert Comment

ID: 12384108
LVL 21

Accepted Solution

tfewster earned 1000 total points
ID: 12384147
Note also the comment about the "script" command, to capture output to a file; Though there are other ways, e.g. ">" for output redirection to capture the info you wanr.

Author Comment

ID: 12541030
I user PERL to do telnet and extract text after I connected!

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Suggested Courses
Course of the Month6 days, 16 hours left to enroll

593 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question