Kill detached screen session [closed]
问题 I learned from somewhere a detached screen can be killed by screen -X -S [session # you want to kill] kill where [session # you want to kill] can be gotten from screen -ls But this doesn't work. Anything wrong? What's the correct way? 回答1: "kill" will only kill one screen window. To "kill" the complete session, use quit . Example $ screen -X -S [session # you want to kill] quit For dead sessions use: $ screen -wipe 回答2: You can kill a detached session which is not responding within the screen