Kill All Screen Sessions with Same Name

Kill All Screen Sessions with Same Name

I have multiple screen sessions with the same name due to a bug. How can I remove these all in 1 command without affecting other screen sessions?

I used the command from this post:

However it only prints out the sessions and doesn't remove them:

What can I do to remove these sessions in 1 go without affecting other sessions?

Thank you

10
Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.