954,525 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Network access ksh

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

mfmalik
Newbie Poster
2 posts since Jan 2006
Reputation Points: 10
Solved Threads: 0
 

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

nicentral
Junior Poster
166 posts since Apr 2005
Reputation Points: 14
Solved Threads: 5
 

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

the sleep duration is accroding to the time your connection takes to connect to telnet the server.

mfmalik
Newbie Poster
2 posts since Jan 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You