develooper Front page | perl.beginners | Postings from December 2003

Re: How to send O/P to file?

Thread Previous
From:
zentara
Date:
December 24, 2003 05:26
Subject:
Re: How to send O/P to file?
Message ID:
so4juvggf78b09g55mh68889ruk34or8h1@4ax.com
On Wed, 24 Dec 2003 13:37:03 +0530, gokhaletushar@yahoo.com (Tushar
Gokhale) wrote:

>I've opened a connection to remote machine through perl script and sending
>commands and can see the output on screen but I want to put that output in
>File along with the commands that were send. how do I do that?

You need to be a little more specific about how you are doing this.
Are you using ssh, sockets, or what?

But in general, on your remote machine, you need the receiving program
to open a file, and write to it.

Show us your code so we can see what you are doing.
Otherwise we have to guess at what you want.


--
When life conspires against you, and no longer floats your boat,
Don't waste your time with crying, just get on your back and float.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About