[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where is "append" command

On Sat, 03 Jan 2004 08:50:38 +0800, Stephen Liu wrote:

Stephen and Colin, please excuse me for butting in but I can't stand it :)


You've fixed your lilo.conf, so you don't need to do anything more with it.

What Colin was showing you is how you can append more data the the end of
an already existing file.

Try this, in your home directory:

ls >testfile
cat testfile
ls -l >>testfile
cat testfile

You'll see that the second cat shows you that the "ls -l >>" added its
output to the end of testfile.  If you'd used "ls -l >" it would have
replaced the contents of testfile.

To learn more:

man bash


Programming without a hex editor is like watchmaking without a hammer.

Reply to: