- 455 名前:デフォルトの名無しさん [2018/12/23(日) 14:33:14.12 ID:qffc/3mK.net]
- /dev/pts/0の端末
$ tty /dev/pts/0 $ ls −la /dev/stdout lrwxrwxrwx. 1 root root 15 12月 23 08:20 /dev/stdout −> /proc/self/fd/1 $ ls −la /proc/self/fd/1 lrwx−−−−−−. 1 xxxxx xxxxx 64 12月 23 14:06 /proc/self/fd/1 −> /dev/pts/0 $ ls −la /dev/stderr lrwxrwxrwx. 1 root root 15 12月 23 08:20 /dev/stderr −> /proc/self/fd/2 $ ls −la /proc/self/fd/2 lrwx−−−−−−. 1 xxxxx xxxxx 64 12月 23 14:16 /proc/self/fd/2 −> /dev/pts/0 $ ls −la /dev/pts/0 crw−−w−−−−. 1 xxxxx tty 136, 0 12月 23 14:07 /dev/pts/0 /dev/pts/1の端末 $ tty /dev/pts/1 (あとは同じで)/dev/stdoutも/dev/stderrも/dev/pts/1になる
|

|