|
The Shell
The shell is a command interpreter that acts as an interface between users and the operating system.When you enter a command at a terminal,the shell interprets the command and calls the program you want.
Besides its regular function of interpreting commands from a terminal keyboard and sending them to the operating system,the shell can be used as a high-level programming language.Shell commands can be arranged in a file for later execution as a high-level program.This flexibility allows users to perform complex operations with relative ease,often with rather short commands,or to build elaborate programs that perform highly complex operations,with surprisingly little effort.
外壳
外壳是一种命令解释程序在用户与操作系统之间充当接口。当你在终端上输入一个命令时,外壳解释该命令并调用你所要的程序。
除了解释来自终端键盘的命令并将其送往操作系统这样的常规操作外,外壳可以作为高级编程语言使用。外壳命令可以安排在一个文件内,以后作为一个高级程序去执行。这种灵活性使用户能用相对容易且通常相当短的一些命令去完成复杂的操作,或者用极小的代价去编写完成极其复杂操作的精细程序。 |
|