How to know which desktop environment are being used from command line?
Issue
How do I know which desktop environment (GNOME, KDE, etc.) are being used from command line?
Environment
Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.