是bash一种编程语言吗?

前端之家收集整理的这篇文章主要介绍了是bash一种编程语言吗?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
TL; DR;什么是shell脚本?它是一种编程语言/我们在shell脚本中使用的是一种编程语言吗?

免责声明:有点偏颇
所以bash代表Bourne再次壳。 A(Unix)Shell是一个命令行用户界面,也可以称之为解释器(?)

所以我填写一个新工作的应用程序,并且被要求使用不同的编程语言的经验,然后这个框在底层的其他经验 – 我开始输入python 2.7,powershell,bas …等等! bash不是一种编程语言 – 它是一个可以执行shell脚本的控制台…所以…呃….哦,我的上帝,我不知道!

我们可以说是的,这是一种编程语言。

根据人类的抨击,Bash是一种“兼容sh的命令语言”。然后,我们可以说“命令语言”是“用户与操作系统或应用程序通信的编程语言”。

从人bash:

DESCRIPTION

Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. Bash
also incorporates useful features from the Korn and C shells (ksh and
csh).

http://www.gnu.org/software/bash/

Bash is the GNU Project’s shell. Bash is the Bourne Again SHell. Bash
is an sh-compatible shell that incorporates useful features from the
Korn shell (ksh) and C shell (csh). It is intended to conform to the
IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. It offers
functional improvements over sh for both programming and interactive
use. In addition,most sh scripts can be run by Bash without
modification.

而UNIX外壳是… http://en.wikipedia.org/wiki/Unix_shell

A Unix shell is a command-line interpreter or shell that provides a traditional user interface for the Unix operating system and for Unix-like systems. Users direct the operation of the computer by entering commands as text for a command line interpreter to execute,or by creating text scripts of one or more such commands. Users typically interact with a Unix shell using a terminal emulator,however,direct operation via serial hardware connections,or networking session,are common for server systems.

猜你在找的Bash相关文章