프로세스하나 띄우고 와일 1 로 계속실행다른 세션에서proc pid fd 1 에다가 echo hi > 해보기과연 첫번째 프로세스의 부모 터미널에 hi가 뜰것인가?예전에 이거 안먹혔던 기억인데안먹힌다면 왜?제발 먹혀라
https://unix.stackexchange.com/questions/152773/why-cant-i-tail-f-proc-pid-fd-1
이거 ?
Thus, tail -f /dev/pts/14 will print the keys you tap on the terminal from which you started your script, and if you do echo meh > /dev/pts/14 the meh message will appear in the terminal.
https://m.dcinside.com/board/programming/2577658
echo echo > /proc/self/fd/1 ㅇㅅㅇ
이런거 하는 이유가 뭐임??