DJ DHG
03-04-2005, 14:18
Moin Moin
Ich habe ein Problem mit der Umleitung vom stdout.
Ich versuche die komplette Ausgabe in eine Datei umzuleiten,
was mir aber nicht gelingen will.
Prometeus:# ./proftpd --configtest 2>&1 temp.txt
Checking syntax of configuration file
Syntax check complete.
Prometeus:# cat temp.txt
Checking syntax of configuration file
Prometeus:#
[...]
Prometeus:# ./proftpd --configtest > temp.txt
Prometeus:# cat temp.txt
Checking syntax of configuration file
Prometeus:#
Wie man sieht, wird nur "Checking syntax of configuration file" umgleitet,
"Syntax check complete." bleibt jedoch auf der Strecke?
Hat jemand eine Idee warum?
mfg DJ DHG
Ich habe ein Problem mit der Umleitung vom stdout.
Ich versuche die komplette Ausgabe in eine Datei umzuleiten,
was mir aber nicht gelingen will.
Prometeus:# ./proftpd --configtest 2>&1 temp.txt
Checking syntax of configuration file
Syntax check complete.
Prometeus:# cat temp.txt
Checking syntax of configuration file
Prometeus:#
[...]
Prometeus:# ./proftpd --configtest > temp.txt
Prometeus:# cat temp.txt
Checking syntax of configuration file
Prometeus:#
Wie man sieht, wird nur "Checking syntax of configuration file" umgleitet,
"Syntax check complete." bleibt jedoch auf der Strecke?
Hat jemand eine Idee warum?
mfg DJ DHG