$ ls -l /proc/$$/fd/1 lrwx------ 1 almut almut 64 2010-03-22 00:16 /proc/25932/fd/1 -> /dev/pts/7