Aaron Saray

open source programmer,
web developer

entrepreneur, author
and musician

My Blog

contains PHP, Web and business/entrepreneurial related content. Please join in the conversation!

Launch Screen Automatically

Because the internet in the Crown building is as good as… well my parents 19.2K dialup – which drops pretty much every 5 minutes, I’ve had to use GNU screen extensively.

I’ve modified my .bash_profile page to have the following line:

exec /usr/bin/screen -R

This way it automatically reattaches to any screen it lost when it last disconnected. If none exists, it just creates a new session. Simple but very useful.

This entry was posted in linux and tagged . Bookmark the permalink.

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>