{"id":2272,"date":"2017-12-08T06:13:56","date_gmt":"2017-12-08T06:13:56","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2272"},"modified":"2022-04-24T04:27:40","modified_gmt":"2022-04-24T04:27:40","slug":"execute-command-from-linux-to-windows-machine","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/execute-command-from-linux-to-windows-machine\/","title":{"rendered":"Linux Tutorials: execute command from linux to windows machine using rsh"},"content":{"rendered":"<p><strong>scmuser created the topic: Execute Command from Linux to Windows machine<\/strong><br \/>\nHi,<br \/>\nCould you please help me in my following scenario\u2026<\/p>\n<p>Problem Statement: In one windows machine, I have one application (BusinessObject) file which has to perform some kind of import jobs upon getting parameters on command line.<\/p>\n<p>The command to execute this import statement in windows is:<br \/>\njava -jar biarengine.jar &lt;&gt;<\/p>\n<p>As part of automation in my project, I am trying to run this command along with parameter from Linux machine. I mean to say when I fire these command from Linux machine, it should get executed in Windows machine.<\/p>\n<p>My questions is: What are the way we have available on which I can fire these command and make sure these got executed in Windows remotely.<br \/>\nAny help on this?<\/p>\n<p><strong>kd09714 replied the topic: Re: Execute Command from Linux to Windows machine<\/strong><br \/>\nusing rsh you can trigger the command on windows box.<\/p>\n<p>rsh WIN-BOX-NAME &#8220;command to execute on cmd prompt&#8221;;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>scmuser created the topic: Execute Command from Linux to Windows machine Hi, Could you please help me in my following scenario\u2026 Problem Statement: In one windows machine, I have one&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[454],"tags":[460],"class_list":["post-2272","post","type-post","status-publish","format-standard","hentry","category-shell-script","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2272"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2272\/revisions"}],"predecessor-version":[{"id":29695,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2272\/revisions\/29695"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}