how to permanently remove a detached screen ubuntu code example
Example 1: kill screen
$ 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