LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Toby Corkindale <tjcorkin@steadycom.com.au>
  To  : Darryl Ross <darryl@bachblue.com.au>
  Date: Wed, 19 May 1999 03:00:09 +0000

Re: Appending text to a file

I think you'll find the '>>' pipe on the command is just what you're
looking for. It behaves exactly like '>', only it appends to the file
instead. (creating it, if it's not there.)

Toby

Darryl Ross wrote:
> 
> Hey All, again,
> 
> Different question this time. I'm wondering if its possible to append text
> to the end of a file from the command prompt, without loading up pico or
> anything like that. I have a todo list, and I'd like to be able to just pipe
> the text I want to add to the file and have it added, without overwriting
> the file that is already there.
> 
> Cheers, and tia
> Dazz
> 
> --
> 
> "Originality is the fine art of remembering what you hear but forgetting
> where you heard it."
> - Laurance Peter
> 
> --
> Check out the LinuxSA web pages at http://www.linuxsa.org.au/
> To unsubscribe from the LinuxSA list:
>   mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject

-- 
..I started out with nothing...and I still have most of it left

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page