how to kill the tty in unix

前端 未结 10 1501
遇见更好的自我
遇见更好的自我 2020-12-23 20:52

This is the result of the finger command (Today(Monday) when I (Vidya) logged in)

sekic1083 [6:14am] [/home/vidya] -> finger
Name        Tty          


        
10条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-23 21:52

    I had the same question as you but I wanted to kill the gnome terminal which I was in. I read the manual on "who" and found that you can list all of the sessions logged into your computer with the '-a' option and then the '-l' option prints the system login processes.

    who -la
    

    What who gave me You should get something like this. Then all you have to do is kill the process with the 'kill' command.

    kill 
    

提交回复
热议问题