linux下如何kill tty终端

答:一共有两个步骤,如下:

1.列出打开的终端

who

2.kill需要kill的tty终端

pkill -kill -t pts/2

猜你喜欢

转载自www.cnblogs.com/dakewei/p/10335374.html
tty