Hi Greg, I appreciated you fast response. when I execute the following echo "Un!sphere8" >> '/user/filename.txt' I get this message bash: !sphere875": event not found. unusual, it takes the "Un" from the error given.
Aldo ________________________________ From: Gregory Boyce <gbo...@badbelly.com> To: aldo albanese <aldo_alban...@yahoo.com> Cc: "discuss@blu.org" <discuss@blu.org> Sent: Wednesday, June 27, 2012 3:01 PM Subject: Re: [Discuss] insert text in a large file without open it Sounds like you just want to append. echo "text to append" >> filename.txt a single > overwrites the file. double > appends to the end of the file. On Wed, Jun 27, 2012 at 3:00 PM, aldo albanese <aldo_alban...@yahoo.com> wrote: > Hi, > I have a large text file, about 9 gig. I would like to insert a text at the > end of the file without open it, is it possible? > I'm reading about sed command but is giving some errors. This is what I'm > using as syntax sed 'textaaa' filename. > > Thanks, > Aldo > _______________________________________________ > Discuss mailing list > Discuss@blu.org > http://lists.blu.org/mailman/listinfo/discuss _______________________________________________ Discuss mailing list Discuss@blu.org http://lists.blu.org/mailman/listinfo/discuss