What is the difference between xterm and terminal in Ubuntu?

36

20

What's the difference between Terminal in Ubuntu desktop (Applications>Accessories>Terminal) and xterm? They look very similar.

alwbtc

Posted 2011-10-06T18:15:04.617

Reputation: 2 367

Answers

30

The difference is that xterm is the standard terminal emulator of the X Window System, while gnome-terminal is the standard terminal emulator of the GNOME project.

They are similar because both are terminal emulators.

For more information about why terminals need to be emulated and what a "real" or a "virtual" terminal is read this question and answer: https://askubuntu.com/questions/14284/why-is-a-virtual-terminal-virtual-and-what-why-where-is-the-real-terminal.

A terminal is not a shell. To learn about the difference between a terminal and a shell read this question and answer: https://unix.stackexchange.com/questions/4126/what-is-the-exact-difference-between-a-terminal-a-shell-a-tty-and-a-con.

lesmana

Posted 2011-10-06T18:15:04.617

Reputation: 14 930

Why can't I use "setenv" command in xterm? – alwbtc – 2011-10-09T13:28:06.540

1

most likely because you are running bash inside xterm. setenv is a csh command. It appears to me that you are confusing the terminal with a shell. Learn the difference. It will help you a lot.

– lesmana – 2011-10-09T22:32:19.453

Well, that is what I wanted to know. Where can I find explanations about the difference of these two? – alwbtc – 2011-10-10T06:55:23.173

1I added links to my answer. They should help you understand the differences. – lesmana – 2011-10-10T15:10:44.290