Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私が開始したプロセスの端末IDは、ttyの結果とは異なります。そのためのルールはありますか?プログラムを開始した場合にプログラムが持つ端末IDを確認する方法はありますか?
user@machine:~> tty /dev/pts/1 user@machine:~> ps -e | grep mc 3761 pts/0 00:00:00 mc
パテを介してopenSUSE11.3マシンに接続しています。
mc生成されたプロセスに別のttyを割り当てたと思いttyます。なしでより良い運が得られると思いますmc。
mc
tty