[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed, 24 Aug 2005 12:25:04 -0400 -->
- <!--x-from-r13: wvzcbc ng lnubb.pbz (Xvz Bbcbivgpu) -->
- <!--x-message-id: 1124900704.4446.8.camel@localhost -->
- <!--x-reference: 390373.1124895152156.JavaMail.root@mswamui-billy.atl.sa.earthlink.net -->
- <!--x-reference: 1124895602.3478.0.camel@localhost -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Syntax problem -->
- <li><em>date</em>: Wed, 24 Aug 2005 12:25:04 -0400</li>
- <li><em>from</em>: jimpop at yahoo.com (Jim Popovitch)</li>
- <li><em>in-reply-to</em>: <<a href="msg00360.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00358.html">390373.1124895152156.JavaMail.root@mswamui-billy.atl.sa.earthlink.net</a>> <1124895602.3478.0.camel@localhost> <<a href="msg00360.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Syntax problem</li>
Oooh. Good point. Now if I can just figure out why syslog died on my
local system I'll be back to normal. ;-)
-Jim P.
>
> answer to this.... escape $. "\$1"
>
> ssh machine "ps ax|grep namd|grep -v grep| awk '{print(\$1)}'|xargs
> kill"
>
> On Wed, 2005-08-24 at 11:00 -0400, Jim Popovitch wrote:
> > On Wed, 2005-08-24 at 10:52 -0400, Dow_Hurst wrote:
> > > What is the proper way to get this command to work:
> > >
> > > ssh machine "ps ax|grep namd|grep -v grep| awk '{print($1)}'|xargs kill"
> >
> > Try this (no double quotes):
> > ssh machine ps ax|grep namd|grep -v grep| awk '{print($1)}'|xargs kill
> >
> >
> > -Jim P.
> >
> >
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00358" href="msg00358.html">[ale] Syntax problem</a></strong>
<ul><li><em>From:</em> dhurst at mindspring.com (Dow_Hurst)</li></ul></li>
<li><strong><a name="00359" href="msg00359.html">[ale] Syntax problem</a></strong>
<ul><li><em>From:</em> jimpop at yahoo.com (Jim Popovitch)</li></ul></li>
<li><strong><a name="00360" href="msg00360.html">[ale] Syntax problem</a></strong>
<ul><li><em>From:</em> smw at malamber.org (Scott Warfield)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00364.html">[ale] Syntax problem</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00367.html">[ale] Cannot chown unowned files</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00397.html">[ale] Syntax problem</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00389.html">[ale] Syntax problem</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00366"><strong>Date</strong></a></li>
<li><a href="threads.html#00366"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>