[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Syntax problem



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.