Solved

How to get console terminal output text

Posted on 2011-02-24
1
504 Views
Last Modified: 2012-05-11
I have looked a lot trying to get this to work.
 I have a terminal console window of a program putty running on a server. How can I get all the text from that window so that i can process the output of the server and send input to the server?
Thanks
0
Comment
Question by:sam000
1 Comment
 
LVL 4

Accepted Solution

by:
MarioAlcaide earned 250 total points
ID: 34969052
You could have a shared folder, via samba for example. The windows process would write in that folder, and the linux process would check if that certain file exists.

However, if what you are trying to do is to get the output of a certain command from the server, you can do the following, for example

sh your_command.sh > your_output.txt
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

777 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