recognizing an xterm running only bash from the CLI
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.
Does anyone know a way to ID that open xterm from the CLI?
Thanks,
Mike
--
"A pessimist sees the difficulty in every opportunity;
an optimist sees the opportunity in every difficulty."
- Sir Winston Churchill (1874-1965)
Reply to: