remote ssh execution puzzle

Phil Meyer pmeyer at themeyerfarm.com
Fri Apr 13 17:40:12 UTC 2007


Till Maas wrote:
> Phil Meyer wrote:
>
>   
>> ssh otherhost "uptime | awk '{print $1}'"
>>     
>
> Use:
>
> ssh otherhost "uptime | awk '{print \$1}'"
>
> Regards,
> Till
>
>   
$ ssh otherhost "uptime | awk '{print \$1}'"
awk: cmd. line:1: {print \}
awk: cmd. line:1:        ^ backslash not last character on line






More information about the fedora-list mailing list