[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Ausgabe von ps umleiten



Hallo an alle,

wie bekomme ich denn die Ausgabe von 'ps -aux' in eine Datei
umgeleitet?

  ps -aux > /tmp/dateiname

Klappt nicht. Führt zu 

  Bad syntax, perhaps a bogus '-'?

Die Fehlerumlenkung klappt aber

  ps -aux 2> /tmp/dateiname

Dann steht die Fehlermeldung in /tmp/dateiname.

Warum klappt das nicht mit der normalen Anzeige?

Frank
-- 
There are 10 kinds of people in the world: those who understand binary
and those who don't.



Reply to: