Re: [Debian]:Xfree Hilfe
Joachim Weiß <Joachim.Weiss@exp2.physik.uni-giessen.de> wrote
> > wie lenke ich die Standardausgabe *und* die Fehlermeldung in eine
> > Datei um. Hintergrund ist das X einfriert.
> > startx > x.txt war leer :-(
>
> auf der bash geht das mit
> startx 2>&1 > x.txt
>
> Steht wohl in der Manpage.
> Gruß aus Gießen Joachim
hallo!
genau *so* funktioniert es nicht. (ich hab es ausprobiert.)
startx > x.txt 2>&1
oder startx 2>&1 | tee x.txt oder ganz kurz startx &> x.txt
funktionieren.
cu andreas
ps: bash-manpage:
Note that the order of redirections is significant. For example, the
command
ls > dirlist 2>&1
directs both standard output and standard error to he file dirlist,
while the command
ls 2>&1 > dirlist
directs only the standard output to file dirlist, because the standard
error was duplicated as standard output before the standard output was
redirected to dirlist.
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder: 770
Reply to: