Answers for "terminate all screen sessions"

1

kill all screens linux

for scr in $(screen -ls | awk '{print $1}'); do screen -S $scr -X kill; done
Posted by: Guest on May-19-2020
1

kill all screen sessions linux

pkill screen
Posted by: Guest on May-10-2020
0

kill screen sessions

screen -ls
screen -XS [screen sessionid] quit
#eg: screen -XS 20411 quit
Posted by: Guest on January-21-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language