Bash,Shell,UXTerm和Terminal之间的区别

时间:2022-08-25 00:29:36

In Windows we have Command Prompt but on linux there is more simmilar "apps" like:

在Windows中,我们有命令提示符,但在Linux上有更多类似的“应用程序”,如:

  • Shell
  • UXTerm
  • Terminal
  • and maybe more
  • 也许更多

This is my first day on linux, can someone describe difference between that?

这是我在linux上的第一天,有人可以描述一下之间的区别吗?

2 个解决方案

#1


12  

In linux they can all look the same from the point of view of the user at the keyboard. The differences are in how they interact with each other.

在linux中,从键盘上的用户的角度来看,它们看起来都是一样的。不同之处在于它们如何相互作用。

The shell is the program which actually processes commands and returns output. Most shells also manage foreground and background processes, command history and command line editing. These features (and many more) are standard in bash, the most common shell in modern linux systems.

A terminal refers to a wrapper program which runs a shell. Decades ago, this was a physical device consisting of little more than a monitor and keyboard. As unix/linux systems added better multiprocessing and windowing systems, this terminal concept was abstracted into software. Now you have programs such as Gnome Terminal which launches a window in a Gnome windowing environment which will run a shell into which you can enter commands.

UXTerm is XTerm with support to Unicode characters. The main difference between XTerm and Terminal is that the gnome-terminal has more features, while XTerm is minimalistic (though it has features that are't in gnome-terminal, but they are more advanced).

shell是实际处理命令并返回输出的程序。大多数shell还管理前台和后台进程,命令历史记录和命令行编辑。这些功能(以及更多功能)是bash中的标准功能,bash是现代Linux系统中最常见的shell。终端是指运行shell的包装程序。几十年前,这是一个物理设备,只包括一个显示器和键盘。随着unix / linux系统添加了更好的多处理和窗口系统,这个终端概念被抽象为软件。现在你有了Gnome Terminal这样的程序,它在Gnome窗口环境中启动一个窗口,它将运行一个shell,你可以在其中输入命令。 UXTerm是XTerm,支持Unicode字符。 XTerm和终端之间的主要区别在于gnome-terminal具有更多功能,而XTerm是简约的(尽管它具有不在gnome-terminal中的功能,但它们更先进)。

#2


0  

A shell in computing provides a user interface for access to an operating system's services. They can be a command line interface (this is the terminal in Linux or the command line in windows) or the graphical interface, (the desktop, icons, folders, windows, ect).

计算中的shell提供用于访问操作系统服务的用户界面。它们可以是命令行界面(这是Linux中的终端或Windows中的命令行)或图形界面(桌面,图标,文件夹,窗口等)。

#1


12  

In linux they can all look the same from the point of view of the user at the keyboard. The differences are in how they interact with each other.

在linux中,从键盘上的用户的角度来看,它们看起来都是一样的。不同之处在于它们如何相互作用。

The shell is the program which actually processes commands and returns output. Most shells also manage foreground and background processes, command history and command line editing. These features (and many more) are standard in bash, the most common shell in modern linux systems.

A terminal refers to a wrapper program which runs a shell. Decades ago, this was a physical device consisting of little more than a monitor and keyboard. As unix/linux systems added better multiprocessing and windowing systems, this terminal concept was abstracted into software. Now you have programs such as Gnome Terminal which launches a window in a Gnome windowing environment which will run a shell into which you can enter commands.

UXTerm is XTerm with support to Unicode characters. The main difference between XTerm and Terminal is that the gnome-terminal has more features, while XTerm is minimalistic (though it has features that are't in gnome-terminal, but they are more advanced).

shell是实际处理命令并返回输出的程序。大多数shell还管理前台和后台进程,命令历史记录和命令行编辑。这些功能(以及更多功能)是bash中的标准功能,bash是现代Linux系统中最常见的shell。终端是指运行shell的包装程序。几十年前,这是一个物理设备,只包括一个显示器和键盘。随着unix / linux系统添加了更好的多处理和窗口系统,这个终端概念被抽象为软件。现在你有了Gnome Terminal这样的程序,它在Gnome窗口环境中启动一个窗口,它将运行一个shell,你可以在其中输入命令。 UXTerm是XTerm,支持Unicode字符。 XTerm和终端之间的主要区别在于gnome-terminal具有更多功能,而XTerm是简约的(尽管它具有不在gnome-terminal中的功能,但它们更先进)。

#2


0  

A shell in computing provides a user interface for access to an operating system's services. They can be a command line interface (this is the terminal in Linux or the command line in windows) or the graphical interface, (the desktop, icons, folders, windows, ect).

计算中的shell提供用于访问操作系统服务的用户界面。它们可以是命令行界面(这是Linux中的终端或Windows中的命令行)或图形界面(桌面,图标,文件夹,窗口等)。