command to add file contents to end of existing file

albi albi at
Wed Jan 4 08:46:33 PST 2006

On Wed, 4 Jan 2006 11:40:38 -0500
"fbsd_user" <fbsd_user at> wrote:

> What is command or command sequence to copy the contents of file B 
> to the end of the contents of file A?

i would try something like : 

cat A B >> C ; cp A A-backup ; rm A ; mv C A

grtjs, albi
gpg-key: lynx -dump | gpg --import

More information about the freebsd-questions mailing list