<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JW Network Consulting &#187; shell commands</title>
	<atom:link href="http://www.jwnetworkconsulting.com/tag/shell-commands/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jwnetworkconsulting.com</link>
	<description>Watching the network so you don't have to.</description>
	<lastBuildDate>Sun, 30 Oct 2011 22:06:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>NetApp Shell Commands</title>
		<link>http://www.jwnetworkconsulting.com/sysadmin/netapp-shell-commands</link>
		<comments>http://www.jwnetworkconsulting.com/sysadmin/netapp-shell-commands#comments</comments>
		<pubDate>Wed, 05 May 2010 00:02:57 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[netapp]]></category>
		<category><![CDATA[ontap]]></category>
		<category><![CDATA[shell commands]]></category>

		<guid isPermaLink="false">http://www.jwnetworkconsulting.com/?p=330</guid>
		<description><![CDATA[One of the guys I work with sent me a link to an article on Kings Pride and I decided to post them here.  Mostly, so I can find them again later when need them later. Any how, from Kings Pride here&#8217;s the details on how to invoke a Java based shell on a NetApp. [...]]]></description>
			<content:encoded><![CDATA[<p>One of the guys I work with sent me a link to an article on <a title="Kings Pride - NetApp Shell Commands" href="http://kingspride.org/2009/11/17/netapp-cmds-jsh/">Kings Pride</a> and I decided to post them here.  Mostly, so I can find them again later when need them later.  Any how, from Kings Pride here&#8217;s the details on how to invoke a Java based shell on a NetApp.</p>
<pre class="qoate-code">

The solution to all these problems is to use an undocumented java shell on the filer which grants the ability to use cp, mv and other commands.  Here is an example of the command to drop to the java shell and a list of the commands available:

filer01&gt;java netapp.cmds.jsh
jsh&gt; ?
Java Shell commands:
cd [directory]
pwd
ls [-l]
cat file
rm file [file2 ...]
cp src dest
mv src dest
ps [-l]
kill &lt;-1|-9&gt; threadName
gc
classpath [pathname]
syspath [pathname]
Debug on|off
threads
monitors
heap
version
syncdb
du [-sk] [files or directories]
java_class [&#038;]
ONTAP_cmd
jsh&gt; exit
filer01&gt;
</pre>
<p>Here&#8217;s the link to the post:</p>
<p><a href="http://kingspride.org/2009/11/17/netapp-cmds-jsh/">http://kingspride.org/2009/11/17/netapp-cmds-jsh/</a><br />
<!-- start wp-tags-to-technorati 1.02 --></p>
<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/netapp' rel='tag' target='_self'>netapp</a>, <a class='technorati-link' href='http://technorati.com/tag/ontap' rel='tag' target='_self'>ontap</a>, <a class='technorati-link' href='http://technorati.com/tag/shell+commands' rel='tag' target='_self'>shell commands</a></p>
<p><!-- end wp-tags-to-technorati --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jwnetworkconsulting.com/sysadmin/netapp-shell-commands/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

