help with text-append over SSH ?

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Sat Oct 13 15:34:10 PDT 2007


> 'dd' command (among others) on the remote host ... so
> for instance, I can do things like this:
>
> ssh user at host rm -rf filename
>
> So, with all that in mind, how do I append the
> contents of a local file to a remote file, over SSH,
> using either 'echo' or 'dd' ?
>
> Thanks.
>
>

cat file |ssh user at host "cat >>file"

replace cat with dd if you have to



>      ____________________________________________________________________________________
> Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
> http://tv.yahoo.com/collections/3658
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>


More information about the freebsd-questions mailing list