Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Unix, the text we type on terminal window is sent to shell as input. How about GUI and TUI? Does it have shell too that handles mouse clicks and keyboard?

share|improve this question

By definition, a graphical user interface (GUI) is used by a shell.[1]

Moreover, Unity, the default user interface in Ubuntu, is a shell interface for the GNOME desktop environment.[2]


  1. Shell (computing)
  2. Unity (user interface)
share|improve this answer

It depends on the program, things like GParted are just graphical versions of CLIs. In GParted's case it's obviously the GUI for Parted. What really happens is eventually anything running needs to get down to a compiler so that the computer can understand what's happening. If you want to get a better grasp on the underbelly of a computer, learn some C code.

share|improve this answer
The compiler has nothing to do with this. It is needed to compile the program into an executable binary and has nothing to do with actually running it. – terdon Mar 24 '14 at 14:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.