From owner-freebsd-questions Mon Jul 13 11:47:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA14340 for freebsd-questions-outgoing; Mon, 13 Jul 1998 11:47:13 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dns.webwizard.net.mx (mexcom.net.mx [207.249.162.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA14327 for ; Mon, 13 Jul 1998 11:47:09 -0700 (PDT) (envelope-from rafareta@mexcom.net.mx) Received: from mexcom.net.mx (rafa.nix.mexcom.net [206.103.64.101]) by dns.webwizard.net.mx (8.8.8/8.8.7) with ESMTP id NAA20184; Mon, 13 Jul 1998 13:45:55 -0500 (CDT) Message-ID: <35AA55D8.565E8F45@mexcom.net.mx> Date: Mon, 13 Jul 1998 13:45:44 -0500 From: "Rafael A. Reta Rodriguez" Organization: MexCom.Net X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD sunix3.0.1 i386) MIME-Version: 1.0 To: Roman Katsnelson CC: "q's" Subject: Re: Sh script (sorry!) References: <35AA1DD1.AE2D8C74@graphnet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Roman Katsnelson wrote: > > Hi everyone, > > I am sorry if this is more of a shell than a FreeBSD question ... > > I am trying to write a shell script and I need it to append text to a > file. > I have been trying to do this for a while but it keeps putting it into > STDOUT. > How do i do this? > > Thanks > I don't know what you did try but try this echo 'New line test' >> allready_existing_file To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message