how to know if I'm using xterm or gnome-terminal?

Germán A. Racca german.racca at gmail.com
Tue Feb 23 20:22:06 UTC 2010


On Tue, 2010-02-23 at 12:15 -0800, Paolo Galtieri wrote:
> Run
> 
> ps axlw | grep term
> 
> This will show you which one you are running
> 
> Paolo

But if there are several xterms and gnome-terminals running, I'll get
them all. Which I want to know is the one I'm using.

Germán.

> On Tue, Feb 23, 2010 at 11:52 AM, Germán A. Racca
> <german.racca at gmail.com> wrote:
>         Hi all:
>         
>         How to know if I'm using an xterm or a gnome-terminal from
>         command line?
>         
>         The output of "echo $TERM" is "xterm" from both of them.
>         
>         How to know?
>         
>         Cheers,
>         Germán.
>         --
>         Germán A. Racca
>         National Institute for Space Research (INPE)
>         São José dos Campos - SP - Brasil
>         http://sites.google.com/site/gracca
>         http://gracca.wordpress.com 




More information about the users mailing list