csh bringt Fehler - sh nicht

mike

Well-Known Member
Hi!
Ich habe ein Problem. Wenn ich dem User postgres die sh shell zuweise funktioniert folgendes einwandfrei:
./postmaster -i -D /var/lib/pgsql 1>/var/lib/pgsql.log 2>&1 &
Wenn ich im die csh zuweise bekomme ich folgenden Fehler:
Ambiguous output redirect.

In der man page hab ich zwar so was wie
The shell cannot presently redirect diagnostic output without also redirecting standard output, but `(command > output-file) >& error-file' is often an acceptable workaround. Either output-file or error-file may be `/dev/tty' to send output to the terminal.
gefunden - aber warum geht das nicht?
Weiß jemand was ich da falsch mache? :(


Danke im Voraus!!
mfg
 
Zurück
Oben