linux end screen session code example
Example 1: kill screen session from outside
screen -X -S [session # you want to kill] kill
Example 2: kill all screen sessions linux
pkill screen
screen -X -S [session # you want to kill] kill
pkill screen