14 Jul
2002
14 Jul
'02
20:21
Moin,
* Michael Hoeller
ich brauche Hilfe bei einem bash statement:
depmode -a > /dev/null 2>&1
Der linke Teil ist klar die Ausgabe wird auf /dev/null geleitet und wenn ich mich richtig erinnere dann steht 2 für die stderr d.h. also Fehler werden auf &1 geleitet und was ist das?? Gibt es auch &0 oder &2 ? Leider konnte ich keine Doku dazu finden, die es ganz sicher gibt - bin wohl noch nicht auf das richtige Schlagwort gekommen. Kann mir wer weiterhelfen?
man stdout: The integer file descriptors associated with the streams stdin, stdout, and stderr are 0, 1, and 2, respectively. Thorsten -- Wasn't the storming of the Bastille an act of terrorism? Probably. Now it's a holiday. - umarsyed