Re: remote ssh execution puzzle

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

 



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




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux