SyntaxFix
Write A Post
Hire A Developer
Questions
To kill all detached screen sessions, include this function in your .bash_profile:
killd () { for session in $(screen -ls | grep -o '[0-9]\{5\}') do screen -S "${session}" -X quit; done }
to run it, call killd
killd