Pagina 2 di 2

Re: [BASH] redirect sterr in file e a video

Inviato: lun 2 mag 2011, 18:13
da Mario Vanoni
http://tldp.org/LDP/abs/html/io-redirection.html
e
http://www.museum.state.il.us/ismdepts/ ... ction.html
ambedue solo in inglese.

trucchi usati 20 anni fa per le redirection dei file pointers nella shell,
ma non ho a disposizione un esempio, e la mia memoria ha quasi 70 anni.

Un esempio, non funzionate per quello che vuole effettivamente Corrado:
exec 3>&1 | ls .bashrc nonesistente 3>&1 /dev/stdout 2>&1 > testami