Mag,

I am a little confused.

Since I am running bash, how would I use the 'at' and 'stuff' command to run
"df -h" in all my windows?

You need to look at the names of your windows (with ^A^W or ^A" or somesuch). If all the windows are named "bash", you can just substitute "bash" for "zsh" in the command line Phil gave you ... IOW, what he gave you isn't specific to zsh, that's just what his windows happen to be named.


Phil!,

For getting commands to run in shells inside screen, the screen command
you need to use is 'stuff'.  To run 'df -h', you'd use 'stuff "df -h ^J"'
where "^J" is a quoted control-J (or enter) character.  I couldn't manage
to get the ^J entered from screen's colon mode, though.

Just use "\015" instead.  That has always worked for me (and it's much easier 
to type).


                -- Buddy


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to