On Tue, Jun 20, 2017 at 10:41 AM, Frédéric Bron <frederic.b...@m4x.org> wrote:
> > Curious as to how to get the following to work remotely over SSH. The > > cmd is used to remove redundant lines, while maintaining order in the > > output file. > > > > The following works if I insert it in the remote term. > > cat /dog/aaa.dat | awk '!a[$0]++' > /dog/aaa.dat_tmp > > What about copying that command into a script and run the script remotely. > > Frédéric > _______________________________________________ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > You could try piping the command to ssh [command] | ssh [destination] would need to read the man page for ssh to ensure appropriate flags are set.
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org