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