Re: recognizing an xterm running only bash from the CLI
On Sun 10 Aug 2025 at 21:58:32 (-0500), Mike McClain wrote:
> Most of my Linux use is on the commandline.
> When I launch X I always start an xterm, one running mc and firefox.
> >From X I have a tiny script 'to9' that copies my entry to /dev/tty9.
> Going the other way from the CLI to X I have to go to X and see which
> /dev/pts/* is just running bash.
Is that so that you can have "You have mail in /var/mail/mike"
typed in the middle of your command lines?
> Does anyone know a way to ID that open xterm from the CLI?
Cheers,
David.
Reply to: