Phil Meyer wrote:
$ ssh otherhost "uptime | awk '{print \$1}'" awk: cmd. line:1: {print \} awk: cmd. line:1: ^ backslash not last character on line
try using '' instead of "" (and no backslash)? -Andy
Phil Meyer wrote:
$ ssh otherhost "uptime | awk '{print \$1}'" awk: cmd. line:1: {print \} awk: cmd. line:1: ^ backslash not last character on line
try using '' instead of "" (and no backslash)? -Andy