Date: Sun, 14 Oct 2007 00:34:05 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: Juri Mianovich <juri_mian@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: help with text-append over SSH ? Message-ID: <20071014003326.P37825@wojtek.tensor.gdynia.pl> In-Reply-To: <561095.99967.qm@web45614.mail.sp1.yahoo.com> References: <561095.99967.qm@web45614.mail.sp1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 'dd' command (among others) on the remote host ... so > for instance, I can do things like this: > > ssh user@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@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071014003326.P37825>