Re: Exiting a list of screen sessions

2011-07-14 Thread Alan Young
On Thu, May 12, 2011 at 17:15, Sam Steingold wrote: > yes, but will it send EOF to each bash window? > if it will not, I will lose my bash history! Part of my prompt setup has PS1="\$(history -a)${PS1}" This will save each command to the history file. The most you will lose after this is a com

Re: Exiting a list of screen sessions

2011-07-14 Thread Clark J. Wang
On Fri, May 13, 2011 at 7:15 AM, Sam Steingold wrote: > > > > Try: screen -S id -X quit > > yes, but will it send EOF to each bash window? > if it will not, I will lose my bash history! > I have following alias defined in my bashrc: alias Q='[[ $WINDOW ]] && screen -X at '\''#'\'' stuff $'\''\0

Re: Exiting a list of screen sessions

2011-05-14 Thread Sam Steingold
> * Micah Cowan [2009-02-28 > 15:04:27 -0800]: > Marc Lanctot wrote: >> Typically I run commands on servers and let them run for some time.. >> when I'm done I kill all the processes with one command. >> >> I would like to be able to kill all my screens in one command as well, >> so I thought of

Re: Exiting a list of screen sessions

2009-02-28 Thread Micah Cowan
Marc Lanctot wrote: > Typically I run commands on servers and let them run for some time.. > when I'm done I kill all the processes with one command. > > I would like to be able to kill all my screens in one command as well, > so I thought of parsing screen -r and sending a "kill command" to each

Exiting a list of screen sessions

2009-02-28 Thread Marc Lanctot
Typically I run commands on servers and let them run for some time.. when I'm done I kill all the processes with one command. I would like to be able to kill all my screens in one command as well, so I thought of parsing screen -r and sending a "kill command" to each screen, but I can't find a