Minor spelling and grammar fixes (#24789)

This commit is contained in:
devinbmiller
2018-12-13 23:04:12 -05:00
committed by Manish Giri
parent f67270113d
commit 24acfb420a

View File

@ -4,10 +4,7 @@ title: Shell scripting
# Shell scripting # Shell scripting
In the command line, a shell script is an executable file that contains a set In the command line, a shell script is an executable file that contains a set of instructions that the shell will execute. Its main purpose is to reduce a set of instructions (or commands) in just one file. Also, it can handles bsome logic because it's a programming language.
of instructions that the shell will execute. Its main purpose its to reduce
a set of instructions (or commands) in just one file. Also it can handle
some logic because it's a programming language.
## How to create it ## How to create it
@ -22,7 +19,7 @@ $ echo "#!/bin/bash" > myscript.sh
$ your-desired-editor myscript.sh $ your-desired-editor myscript.sh
# write at the first line #!/bin/bash # write at the first line #!/bin/bash
``` ```
3) Add some comands: 3) Add some commands:
```bash ```bash
$ echo "echo Hello World!" >> myscript.sh $ echo "echo Hello World!" >> myscript.sh
``` ```