How to list to a file?

Justin W jlist at jdjlab.com
Mon Aug 6 12:53:06 UTC 2007


Bob Goodwin wrote:
>
> If I do   /usr/local/bin/fap.pl > faprpt.txt
>
> the output of fap.pl is written to faprpt.txt.
>
> However if I repeat this a second time the first data is overwritten.
>
> How do I cause each subsequent command to append to what is listed 
> before?
>
> Bob Goodwin
>
Use two angle brackets:

    /usr/local/bin/fap.pl >> faprpt.txt




More information about the fedora-list mailing list