Specified what a shebang is and added alt shells (#20169)
specified alternative shells users might see in the wild and specified what a shebang is
This commit is contained in:
committed by
Christopher McCormack
parent
06fbd4c156
commit
4d3a705c73
@ -9,10 +9,10 @@ you add logic like `if` and `while` to automatically control how they behave as
|
|||||||
|
|
||||||
## What’s Bash?
|
## What’s Bash?
|
||||||
Bash is the name of a command line interpreter, a program that makes sense of the Linux commands you enter at the command
|
Bash is the name of a command line interpreter, a program that makes sense of the Linux commands you enter at the command
|
||||||
prompt, or in your script.
|
prompt, or in your script. There are other interpreters as well, such us TC-Shell, Z Shell, Fish-Shell, and many more.
|
||||||
|
|
||||||
## What’s in a Script?
|
## What’s in a Script?
|
||||||
A script is just a file. A basic script is made up of an introductory line that tells the server what to make of it, and one
|
A script is just a file. A basic script is made up of an introductory line, called a "shebang", that tells the server what to make of it, and one
|
||||||
or more instructions to execute. Here’s an example:
|
or more instructions to execute. Here’s an example:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user