Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Pipe to a file

25 views
Skip to first unread message

Nene

unread,
Sep 11, 2012, 4:38:09 PM9/11/12
to
How can I get this command to pipe to a file?

/usr/sbin/suexec -V

I've tried suexec -V > test.txt (doesn't work)

Nene

Barry Margolin

unread,
Sep 11, 2012, 5:35:35 PM9/11/12
to
In article <a42cde75-becc-4dfb...@googlegroups.com>,
What does it do? I can't find the command on my Linux system. I googled
it, but all I found was the suEXEC feature of Apache.

Anyway, try redirecting stderr instead of stdout:

/usr/sbin/suexec -V 2> test.txt

--
Barry Margolin, bar...@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

Nene

unread,
Sep 11, 2012, 5:54:41 PM9/11/12
to
On Tuesday, September 11, 2012 5:35:41 PM UTC-4, Barry Margolin wrote:
> In article
>
> Nene
>
>
>
> > How can I get this command to pipe to a file?
>
> >
>
> > /usr/sbin/suexec -V
>
> >
>
> > I've tried suexec -V > test.txt (doesn't work)
>
> >
>
> > Nene
>
>
>
> What does it do? I can't find the command on my Linux system. I googled
>
> it, but all I found was the suEXEC feature of Apache.

Correct it's a wrapper for cgi and php scripts to run in the user's directory.
>
>
>
> Anyway, try redirecting stderr instead of stdout:
>
>
>
> /usr/sbin/suexec -V 2> test.txt

Thank you Barry, the suggestion above worked!
>
>
>
> --
>
> Barry Margolin,
0 new messages