* G. Anthony Reina <reina@nsi.edu> [000830 18:00] wrote:
> I'm trying to start the postmaster exactly how it is written in the
> installation instructions:
>
> nohup postmaster -i > pgserver.log 2>&1 &
>
> However, RedHat Linux 6.1 gives me an 'Ambiguous output redirect '
> error. This is probably because I'm using TCSH instead of BASH.
>
> Is there a way that I can redirect like this in TCSH? Currently, I just
> use:
>
> nohup postmaster -i > pgserver.log &
>
> However, the errors are written to stdout and not to pgserver.log (as I
> would want it).
You need to read your shell's manpage, try:
nohup postmaster -i >& pgserver.log &
--
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."