how to kill a screen code example
Example 1: linux screen kill attached session
screen -X -S SCREENID kill
Example 2: screen kill all
killall screen
Example 3: kill screen
$ screen -X -S [session # you want to kill] quit
Example 4: how to remove a screen session
screen -X -S enter_screen_id_here kill
Example 5: screen kill session
$ screen -X -S [session # you want to kill] quit