screen rm all screen code example
Example 1: screen kill session
$ 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