Re: remote ssh execution puzzle

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


Phil Meyer wrote:
Till Maas wrote:
Phil Meyer wrote:

ssh otherhost "uptime | awk '{print $1}'"


ssh otherhost "uptime | awk '{print \$1}'"


$ ssh otherhost "uptime | awk '{print \$1}'"
awk: cmd. line:1: {print \}
awk: cmd. line:1:        ^ backslash not last character on line

That works for me.  What kind of shell is otherhost running?

  Les Mikesell
   [email protected]

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

  Powered by Linux