Solved

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

Posted on 2004-10-22
256 Views
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;-)
0
Question by:wonggla
    3 Comments
     
    LVL 20

    Expert Comment

    by:tfewster
    0
     
    LVL 20

    Accepted Solution

    by:
    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.
    0
     

    Author Comment

    by:wonggla
    I user PERL to do telnet and extract text after I connected!
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Shellfire Box VPN + Lifetime Subscription

    The Shellfire Box easily connects all of your devices, even those that don't offer the possibility to establish a safe vpn connection. Access blocked content and surf safely, no matter where in the world you are located.

    Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
    Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
    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.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    845 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

    Need Help in Real-Time?

    Connect with top rated Experts

    6 Experts available now in Live!

    Get 1:1 Help Now