File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling shell script

 
Rajesh Kandhasamy
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to call shell script from one linux box to other linux box

how to call shell script which reside in other linux box,

Thanks in advance,
Rajesh Kandhasamy
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can ssh to the other Linux box and run the script there. That's what I normally do. Does this help you?
 
Darrin Cartwright
Ranch Hand
Posts: 107
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And if you can ssh, you can do it all in one command like:

Exchange ssh keys and you won't have to supply a password, which makes it easy to run from a program.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic