php-general | 2001122

Re: [PHP] Re: Need some Linux/Apache help From: Brian Clark (brianj <email protected>)
Date: 12/31/01

* Brian Clark (brianj <email protected>) [Dec 31. 2001 19:05]:

> > How do I redirect the output *if* the output is errors? For example

> > # make > /home/todd/makeerr.txt

> Try this:

> make 2> /home/todd/makeerr.txt

Oh, and if you want it *all* to go to that file:

make 2>&1 /home/todd/makeerr.txt

You can also use grep or egrep to search for specific things if you
want.

-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
Life is like a diaper -- short and loaded.

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>