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

Re: ssh and many command line



On Tuesday 12 August 2003 13:35, François Chenais wrote:
>  [1] ssh root@myhost "cat /etc/passwd | awk -F ':' '{ print $1; }'"

ssh root@myhost cat /etc/passwd | awk -F ':' '{ print $1; }'

should do the trick. cat runs remote, awk runs local... ;-)



Reply to: