linux kill detached screen by name code example
Example 1: kill screen
$ screen -X -S [session # you want to kill] quit
Example 2: kill all screen sessions linux
pkill screen
$ screen -X -S [session # you want to kill] quit
pkill screen