[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to start screen from .bashrc

From: Ian Wat
Subject: Re: how to start screen from .bashrc
Date: Tue, 19 Sep 2006 10:25:36 -0400
User-agent: Mutt/1.5.9i

* Peter (address@hidden) wrote:
> I want to have screen launched when I log in to a Linux system with
> SSH.  I have put the screen command inside ~/.bashrc.  The result is
> that screen will reread .bashrc and sets up a loop which keeps starting
> screen over and over.  My .screenrc file automatically starts 3
> windows.  How do I prevent this loop?

Put your screen command in .bash_profile.  This file should only be read
at a login shell.  Make sure you don't have "shell -bash" or something
in your .screenrc.


 Ian J Wat

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]