Solved

How to get console terminal output text

Posted on 2011-02-24
1
508 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 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