Gnu Screen .screenrc tricks

Here’s a variety of tricks I’ve picked up for Gnu screen and .screenrc from the Screen Users Email List

    • to have a screen change to a different directory when launched, use the chdir command (not cd):

chdir $HOME/rails
screen -t "rails"

    • to change back to a particular screen, after creating a whole lot in .screenrc, and preset the ‘other’ screen:

select 3 (for example)
select 5

Tags:


Share This


 


2 Responses to Gnu Screen .screenrc tricks

  1. I’ve been trying to figure out this simple task for the last hour. This is the only thing I’ve found that works. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>