On Tue, 3 Sep 2013, vinay kumar wrote:
My shell script is in the one system where my application is running.How would
I run my shell script so that the output will occur in another
system.Suppose ,in my script has "" mkdir abc" .the craetion of directory will
be done in another system ..it means directory will be created in another
system having diff Ip address.
My script is running in say 192.168.0.111 and directory will be created in
192.168.0.112
--
Two easy ways:
1) NFS mount the disk on your machine and do it as a local command.
2) Excecute via ssh. See:
http://stackoverflow.com/questions/9816769/how-to-ssh-into-a-remote-host-and-execute-a-command-immediately
billo
--
--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or
http://cdn.fsdev.net/List-Rules.pdf)
---
You received this message because you are subscribed to the Google Groups "Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.