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