1
vote
2answers
2k views

How do I kill all screens?

I accidentally created over 1000 screens. How do I kill them all with one command? (Or a few)
3
votes
3answers
4k views

Killing multiple GNU screen sessions with the same name

Sometimes my script bugs out and multiple screen sessions with the same name get created. Is there a way to kill all of these with this name in one command? Rx:/scripts# screen -S haydoz-script -X ...