From: Siju George on
Hi,

debianCRG50:~# screen -ls
There are screens on:
2282.pts-7.debian (Attached)
1400.pts-2.debian (Attached)
1162.pts-0.debian (Attached)
954.pts-2.debian (Attached)
1428.pts-5.debian (Attached)
5 Sockets in /var/run/screen/S-root.

Out of these how do i find the ID of the screen I am currently logged
in and seeing the above output?

thanks

--Sijju


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/AANLkTikducHPdlCNdRf5_a_oj3Omko0iqbsTN23v5n8r(a)mail.gmail.com
From: Siju George on
On Tue, Jun 22, 2010 at 12:20 PM, Liam O'Toole <liam.p.otoole(a)gmail.com> wrote:
> On 2010-06-22, Siju George <sgeorge.ml(a)gmail.com> wrote:
>> Hi,
>>
>> debianCRG50:~# screen -ls
>> There are screens on:
>>         2282.pts-7.debian  (Attached)
>>         1400.pts-2.debian (Attached)
>>         1162.pts-0.debian  (Attached)
>>         954.pts-2.debian   (Attached)
>>         1428.pts-5.debian  (Attached)
>> 5 Sockets in /var/run/screen/S-root.
>>
>> Out of these how do i find the ID of the screen I am currently logged
>> in and seeing the above output?
>>
>
> The environment variable STY will tell you.
>

thank a million :-)

--Siju


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/AANLkTilexubZO7XmMk2UCv9en7oBfKAIywtPo7j-RBmu(a)mail.gmail.com
From: Liam O'Toole on
On 2010-06-22, Siju George <sgeorge.ml(a)gmail.com> wrote:
> Hi,
>
> debianCRG50:~# screen -ls
> There are screens on:
> 2282.pts-7.debian (Attached)
> 1400.pts-2.debian (Attached)
> 1162.pts-0.debian (Attached)
> 954.pts-2.debian (Attached)
> 1428.pts-5.debian (Attached)
> 5 Sockets in /var/run/screen/S-root.
>
> Out of these how do i find the ID of the screen I am currently logged
> in and seeing the above output?
>

The environment variable STY will tell you.

--
Liam O'Toole
Cork, Ireland



--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/slrni20n9r.56n.liam.p.otoole(a)dipsy.selfip.org