944,138 Members | Top Members by Rank

Ad:
Jan 30th, 2006
0

Network access ksh

Expand Post »
Hi,
I want to access folder on a remote server in a LAN. I just need to access data from there. The script needed to run and create report on server it is resident only data needs to be accessed from other server.
Please anyone can help?
I have no clue about it. I know shell scripting but not much about network access using shell scripting
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mfmalik is offline Offline
2 posts
since Jan 2006
Jan 30th, 2006
0

Re: Network access ksh

The best way to do this is to find an app that will already do the reporting for you. Then you can send the results to a file instead of standard out. Or if you can, run the report on the server and save the results to a file on an NFS share.

Cheers
Reputation Points: 14
Solved Threads: 5
Junior Poster
nicentral is offline Offline
166 posts
since Apr 2005
Jan 31st, 2006
0

Re: Network access ksh

I have found a way to do this in shell script. May be it will help anyone sometime.

(sleep 1
echo "stdwh00";
sleep 1
echo "stdwh00";
sleep 3
echo ls
)| telnet <host>

the sleep duration is accroding to the time your connection takes to connect to telnet the server.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mfmalik is offline Offline
2 posts
since Jan 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Shell Scripting Forum Timeline: Shellprogramming-help needed
Next Thread in Shell Scripting Forum Timeline: Need scripting expert help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC