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