command line arguments und output umleiten
Verfasst: Montag 4. April 2011, 16:22
Hallo,
ich arbeite auf einer Linux Maschine mit der bash und einem Python-Script. Das Python-Script verwendet Command-Line Argumente. Nun möchte ich die Terminal-Ausgabe umleiten in eine Datei, z.B.
./myPythonScript arg1 arg2 arg3 >myPythonScript.log
Leider funktioniert das nicht so.
Wer weiß wie das funktioniert.
Grüße
dnoack
ich arbeite auf einer Linux Maschine mit der bash und einem Python-Script. Das Python-Script verwendet Command-Line Argumente. Nun möchte ich die Terminal-Ausgabe umleiten in eine Datei, z.B.
./myPythonScript arg1 arg2 arg3 >myPythonScript.log
Leider funktioniert das nicht so.
Wer weiß wie das funktioniert.
Grüße
dnoack