在 Windows 计算机上 Git Bash 和 Linux 之间有什么关系?
What is the relationship between Git Bash and Linux on a Windows computer?
我已经在我的 Windows 机器上安装了 Git Bash。它的行为与普通的命令提示符非常不同。
为什么会这么不一样?它似乎表现得像 Linux。只是写命令的风格类似于Linux还是Linux包含在GitBash中?
What is the relationship between Git Bash and Linux
Linux 和 Bash 之间的唯一关系是 Bash 通常用于 Linux 系统(以及其他系统)。 Git Bash 只是一个 Bash,它被设置为能够找到 Git 工具。这在 Linux 系统上通常不是必需的(因此您不会在 Linux 系统上找到任何名为 Git Bash 的东西)。
It behaves very differently from the normal command prompt.
它是一个不同的 shell(和一个不同的终端模拟器)。
It seems to behave like Linux.
Bash 确实表现相同,无论它是在 Windows 还是 Linux(或 OS X、BSD 或任何其他操作系统)上运行。然而,这是 Bash 的 属性,而不是 Linux。
is Linux included in Git Bash
没有
git bash
是 bash
口译员。
bash
是 shell (bash 实际上是 Bourne Again SHell),它在类 unix 系统上非常流行 shell,不包括 Linux 还有其他系统,如 OS-X.
但它不 include linux(它基本上是一个二进制文件;如果你从你的 w32 系统中提取 cmd.exe
,并给它给朋友,那么你还没有给他们 Windows).
bash
非常强大,但它的真正优势来自 unix 哲学,即拥有许多擅长(仅)完成其工作的小工具。 shell 将这些工具粘合在一起。
bash
的行为与 cmd
非常不同,因为它是另一种语言的解释器。就像 python
不同于 java
.
我已经在我的 Windows 机器上安装了 Git Bash。它的行为与普通的命令提示符非常不同。
为什么会这么不一样?它似乎表现得像 Linux。只是写命令的风格类似于Linux还是Linux包含在GitBash中?
What is the relationship between Git Bash and Linux
Linux 和 Bash 之间的唯一关系是 Bash 通常用于 Linux 系统(以及其他系统)。 Git Bash 只是一个 Bash,它被设置为能够找到 Git 工具。这在 Linux 系统上通常不是必需的(因此您不会在 Linux 系统上找到任何名为 Git Bash 的东西)。
It behaves very differently from the normal command prompt.
它是一个不同的 shell(和一个不同的终端模拟器)。
It seems to behave like Linux.
Bash 确实表现相同,无论它是在 Windows 还是 Linux(或 OS X、BSD 或任何其他操作系统)上运行。然而,这是 Bash 的 属性,而不是 Linux。
is Linux included in Git Bash
没有
git bash
是 bash
口译员。
bash
是 shell (bash 实际上是 Bourne Again SHell),它在类 unix 系统上非常流行 shell,不包括 Linux 还有其他系统,如 OS-X.
但它不 include linux(它基本上是一个二进制文件;如果你从你的 w32 系统中提取 cmd.exe
,并给它给朋友,那么你还没有给他们 Windows).
bash
非常强大,但它的真正优势来自 unix 哲学,即拥有许多擅长(仅)完成其工作的小工具。 shell 将这些工具粘合在一起。
bash
的行为与 cmd
非常不同,因为它是另一种语言的解释器。就像 python
不同于 java
.