Re: remote ssh execution puzzle

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

 



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


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

  Powered by Linux