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.
我开始的进程与 tty 结果的终端 ID 不同。有什么规则吗?如果我启动它们,有没有办法找出程序会有什么终端 ID?
user@machine:~> tty /dev/pts/1 user@machine:~> ps -e | grep mc 3761 pts/0 00:00:00 mc
我通过 putty 连接到 openSUSE 11.3 机器。
我认为为生成的进程mc分配了另一个 tty 。tty猜猜你会有一个更好的运气没有mc。
mc
tty