I've been using OpenELEC as my personal Media Center for long. I'm aware that
OpenELEC is a linux-based distribution.
So, is there any terminal in it or just the GUI?
Yes you can ssh to it or use app launcher to get a terminal but there is not much point as there is not even a package manager. For that reason I use OSMC because it's closer to a normal Debian.