[ale] Syntax problem

Jim Popovitch jimpop at yahoo.com
Wed Aug 24 11:00:01 EDT 2005


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.






More information about the Ale mailing list