linux kill screen session code example
Example 1: linux screen kill attached session
screen -X -S SCREENID kill
Example 2: kill screen sessions
screen -ls
screen -XS [screen sessionid] quit
#eg: screen -XS 20411 quit
screen -X -S SCREENID kill
screen -ls
screen -XS [screen sessionid] quit
#eg: screen -XS 20411 quit