Solved

How to get console terminal output text

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
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!
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

13 Experts available now in Live!

Get 1:1 Help Now