Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
211
rated 0 times [  211] [ 0]  / answers: 1 / hits: 705800  / 3 Years ago, mon, september 20, 2021, 9:26:38

I'm trying to kill a screen session. I noticed a lot of other related questions, but none of those answers are working for me. I am trying to kill the following session:



screen -ls
There is a screen on:
23520.pts-6.porkypig (09/30/2013 02:49:47 PM) (Detached)
1 Socket in /var/run/screen/S-root.

screen -r 23520.pts-6.porkypig


Now I am in the session. According to the documentation:



http://www.gnu.org/software/screen/manual/screen.html#Quit



I am supposed to press "control a" and then "control ". I do that and nothing happens.



Another solution said to press Ctrl+a and type :quit. However, again it doesn't do anything. In fact, pressing control+a, absolutely nothing happens afterwards except a message "No Other Window"


More From » gnu-screen

 Answers
4

first you need to re attach to the screen session

screen -r 23520 as you have done. Then press ctrl + a and then a k and press y when it asks if you really want to kill the session



Source


[#29095] Tuesday, September 21, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ionodest

Total Points: 252
Total Questions: 122
Total Answers: 100

Location: Liechtenstein
Member since Tue, Apr 27, 2021
3 Years ago
ionodest questions
Sat, Jan 1, 22, 06:31, 2 Years ago
Wed, May 12, 21, 03:21, 3 Years ago
Tue, Feb 22, 22, 09:46, 2 Years ago
Thu, Jun 30, 22, 12:12, 2 Years ago
;