kill all screens ubuntu code example
Example 1: linux screen kill attached session
screen -X -S SCREENID kill
Example 2: kill all screens linux
for scr in $(screen -ls | awk '{print $1}'); do screen -S $scr -X kill; done
screen -X -S SCREENID kill
for scr in $(screen -ls | awk '{print $1}'); do screen -S $scr -X kill; done