LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: David Drury <idavid@smug.adelaide.edu.au>
To : Linux SA <linuxsa@linuxsa.org.au>
Date: Wed, 19 May 1999 12:38:46 +0930 (CST)
Re: Appending text to a file
Hi,
> 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.
This one is easy
cat myfile >> myotherfile
echo will also work.
note double > not single.
cya
--
David Drury
_______________________________________
\ iddrury@teaching.cs.adelaide.edu.au \
\ idavid@smug.adelaide.edu.au \ ___ ______ |
\ A "Civil" Engineer now resigned \ / \___-=O`/|O`/___|
\ from the Human Race. \_______\ / | / )
/ Apply to the above address for / `/-==__ _/__|/__=--|
/ Resignation Forms. / * \ | |
/ "Cogito cogito ergo cogito sum." / (o)
/______________________________________/
--
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