5 ms·
Something like this? ls -al | tee >(cat) | gzip -c
by runejuhl 13y ago
Something like this?
ls -al | tee >(cat) | gzip -c
- runejuhl 13y ago...or you could run something like cat /proc/`pidof program`/fd/2 That, of course, won't eliminate the need for a second terminal. (change to your needs, stdin==1, stdout==2, stderr=3)