Remove X Window System Command (RedHat family)

To eradicate x window from your RedHat, Centos, fedora family system, just run the following command:

yum groupremove "x window system"
yum groupremove "gnome desktop environment"