<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Executing several commands in non-interactive-mode</title>
		<link>http://wiki.cyclopsgroup.org/forum/t-197978/executing-several-commands-in-non-interactive-mode</link>
		<description>Posts in the discussion thread &quot;Executing several commands in non-interactive-mode&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Mon, 06 Feb 2012 00:12:03 +0000</lastBuildDate>
		
					<item>
				<guid>http://wiki.cyclopsgroup.org/forum/t-197978#post-1319540</guid>
				<title>(no title)</title>
				<link>http://wiki.cyclopsgroup.org/forum/t-197978/executing-several-commands-in-non-interactive-mode#post-1319540</link>
				<description></description>
				<pubDate>Fri, 02 Dec 2011 19:17:59 +0000</pubDate>
				<wikidot:authorName>Kevin Mullet</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I've had good luck wrapping the commands in a bash script, though this technique isn't peculiar to any particular shell:</p> <p>#!/bin/bash<br /> /opt/yaddayadda/java -jar<br /> /opt/sumthin/utilities/jars/jmxterm-1.0-alpha-4-uber.jar&#171;EOF<br /> open localhost:1234<br /> domains<br /> quit<br /> EOF</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.cyclopsgroup.org/forum/t-197978#post-1307605</guid>
				<title>(no title)</title>
				<link>http://wiki.cyclopsgroup.org/forum/t-197978/executing-several-commands-in-non-interactive-mode#post-1307605</link>
				<description></description>
				<pubDate>Wed, 16 Nov 2011 21:48:56 +0000</pubDate>
				<wikidot:authorName>mike</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>somehow I need to stop the '&amp;' from being recognized as a delimiter</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.cyclopsgroup.org/forum/t-197978#post-1307570</guid>
				<title>(no title)</title>
				<link>http://wiki.cyclopsgroup.org/forum/t-197978/executing-several-commands-in-non-interactive-mode#post-1307570</link>
				<description></description>
				<pubDate>Wed, 16 Nov 2011 21:03:31 +0000</pubDate>
				<wikidot:authorName>mike</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I'm trying to set the jmxproperty to a value that has multiple &quot;=&quot; in the string. For example: open PID &amp;&amp; bean BeanName &amp;&amp; set propertyX queryString?arg1=x&amp;arg2=y&amp;arg3=z &amp;&amp; bye | java -jar jmxterm-1.0-alpha-uber.jar -n</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.cyclopsgroup.org/forum/t-197978#post-644969</guid>
				<title>Re: Executing several commands in non-interactive-mode</title>
				<link>http://wiki.cyclopsgroup.org/forum/t-197978/executing-several-commands-in-non-interactive-mode#post-644969</link>
				<description></description>
				<pubDate>Mon, 30 Nov 2009 12:56:18 +0000</pubDate>
				<wikidot:authorName>Jiaqi</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I should document it somewhere. The delimiter is &amp;&amp;, not ;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.cyclopsgroup.org/forum/t-197978#post-636572</guid>
				<title>Executing several commands in non-interactive-mode</title>
				<link>http://wiki.cyclopsgroup.org/forum/t-197978/executing-several-commands-in-non-interactive-mode#post-636572</link>
				<description></description>
				<pubDate>Wed, 18 Nov 2009 12:42:06 +0000</pubDate>
				<wikidot:authorName>Sven Schliesing</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I'd like to execute several commands when using Jmxterm in non-interactive-mode. First I'd like to connect (via "open") and then I'd like to get the value of a mbean. I tried</p> <div class="code"> <pre> <code>echo "open 7358; get java.lang:type=Runtime Name" | java -jar jmxterm-1.0-alpha-4-uber.jar -n</code> </pre></div> <br /> but didn't succeed. Cause I only have the pid of the process I'm not able to open the connection with "-l". Besides that also wouldn't help me with executing other commands than "open". <p>Many thanks in advance!</p> <p>Sven</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
