[Top][All Lists]

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

Re: screen "name" ???

From: Chris Jones
Subject: Re: screen "name" ???
Date: Tue, 14 May 2013 21:11:06 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, May 14, 2013 at 09:53:29AM EDT, t1jump wrote:

> I am using screen on a remote device (BeagleBone) through my Ubuntu
> PC. I enter a screen session through the Ubuntu Gnome terminal (screen
> /dev/ttyUSB1 115200). Once on the BeagleBone I start a screen session
> and try to name a screen (screen -S 1) which I thought would create
> a screen named "1". I start a second screen (screen -S 2). Now when
> I try to get to screen 1 and I (screen -r 1) I get a message there is
> no screen with name "1". 

> If I (screen -ls) I see two attached sessions but they have numbers
> like 790.1 and 3256.2. What am I missing here to get screen names as
> I set them?

>From "screen -h":

-S sockname   Name this session <pid>.sockname instead of <pid>.<tty>.<host>.

This comes in handy when dealing with multiple disconnected screen
sessions, for instance. If you disconnect from both the above sessions,
a simple "screen -r 1" or "screen -r 2" should let you reconnect to
either session -- whatever their current pid.


Alex Perez is aliveeeeeeee!!!

reply via email to

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