$ ( echo foo ) 1>&- -bash: echo: write error: Bad file descriptor $ ( echo foo > /dev/tty ) 1>&- foo