Skip to content

Commit 6a43f50

Browse files
committed
fix typo
1 parent 05d28ee commit 6a43f50

9 files changed

+18
-22
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If you are adding a new translation, make sure to make a copy of the `./ebook/en
2525

2626
All the Markdown files for the 'Introduction to Bash Scripting' guide are located within the [`content`](./content) directory for the specific language.
2727

28-
For example if you are adding a Bulgarian transaltion copy the `./ebook/en` folder to `./ebook/bg`, translate the `.md` files in the `content` directory and submit a PR.
28+
For example if you are adding a Bulgarian translation copy the `./ebook/en` folder to `./ebook/bg`, translate the `.md` files in the `content` directory and submit a PR.
2929

3030
### PDF Generation
3131

@@ -37,7 +37,7 @@ Make sure to follow the steps on how to get Ibis installed and how to use it her
3737

3838
## Issue Creation
3939

40-
In the event that you have a issue using the guide or have a suggest for a change but don't want to contribute changes,
40+
In the event that you have an issue using the guide or have a suggestion for a change but don't want to contribute changes,
4141
we are more than happy to help.
4242
Make sure that when you create your issue, it follows the format for the type of issue you select
4343
(it has individual templates for each issue type).

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ I think it's essential always to keep professional and surround yourself with go
132132

133133
For more information, please visit my blog at [https://bobbyiliev.com](https://bobbyiliev.com), follow me on Twitter [@bobbyiliev_](https://twitter.com/bobbyiliev_) and [YouTube](https://www.youtube.com/channel/UCQWmdHTeAO0UvaNqve9udRw).
134134

135-
In case that you want to support me you can By Me a Coffee here:
135+
In case that you want to support me you can Buy Me a Coffee here:
136136

137137
<a href="https://www.buymeacoffee.com/bobbyiliev" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
138138

@@ -167,5 +167,3 @@ If you ever need to create a graphic, poster, invitation, logo, presentation –
167167
## 🤲 Contributing
168168

169169
If you are contributing 🍿 please read the [contributing file](CONTRIBUTING.md) before submitting your pull requests.
170-
171-

ebook/en/content/004-bash-variables.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ You can also add variables in the Command Line outside the Bash script and they
9090
```bash
9191
./devdojo.sh Bobby buddy!
9292
```
93-
This script takes in two parameters `Bobby`and `buddy!` seperated by space. In the `devdojo.sh` file we have the following:
93+
This script takes in two parameters `Bobby`and `buddy!` separated by space. In the `devdojo.sh` file we have the following:
9494

9595
```bash
9696
#!/bin/bash
@@ -117,7 +117,7 @@ echo "Hello there" $@
117117

118118
# $@ : all
119119
```
120-
The ouput for:
120+
The output for:
121121

122122
```bash
123123
./devdojo.sh Bobby buddy!
@@ -129,5 +129,3 @@ Hello there Bobby
129129
Hello there buddy!
130130
Hello there Bobby buddy!
131131
```
132-
133-

ebook/en/content/008-bash-arrays.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ If you have ever done any programming, you are probably already familiar with ar
44

55
But just in case you are not a developer, the main thing that you need to know is that unlike variables, arrays can hold several values under one name.
66

7-
You can initialize an array by assigning values devided by space and enclosed in `()`. Example:
7+
You can initialize an array by assigning values divided by space and enclosed in `()`. Example:
88

99
```bash
1010
my_array=("value 1" "value 2" "value 3" "value 4")

ebook/en/content/010-bash-conditionals.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ else
9696
fi
9797
```
9898

99-
If you have multiple conditions and scenerios, then can use `elif` statement with `if` and `else` statements.
99+
If you have multiple conditions and scenarios, then can use `elif` statement with `if` and `else` statements.
100100

101101
```bash
102102
#!/bin/bash

ebook/en/content/018-working-with-json-in-bash-using-jq.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ One of the great things about `jq` is that it is written in portable C, and it h
66

77
## Planning the script
88

9-
For the demo in this tutorial, I would use an external REST API that returns a simple JSON ouput called the [QuizAPI](https://quizapi.io/):
9+
For the demo in this tutorial, I would use an external REST API that returns a simple JSON output called the [QuizAPI](https://quizapi.io/):
1010

1111
> [https://quizapi.io/](https://quizapi.io/)
1212
@@ -92,7 +92,7 @@ After running the curl command, the output which you would get would look like t
9292

9393
![Raw Json output](https://imgur.com/KghOfzj.png)
9494

95-
This could be quite hard to read, but thanks to the jq command-line tool, all we need to do is pipe the curl command to jq and we would see a nice formated JSON output:
95+
This could be quite hard to read, but thanks to the jq command-line tool, all we need to do is pipe the curl command to jq and we would see a nice formatted JSON output:
9696

9797
```bash
9898
curl "https://quizapi.io/api/v1/questions?apiKey=${API_KEY}&limit=10" | jq
@@ -222,4 +222,4 @@ And for more information on the **QuizAPI**, you could take a look at the offici
222222

223223
* [https://quizapi.io/docs/1.0/overview](https://quizapi.io/docs/1.0/overview)
224224

225-
>{notice} This content was initially posted on [DevDojo.com](https://devdojo.com/bobbyiliev/how-to-work-with-json-in-bash-using-jq)
225+
>{notice} This content was initially posted on [DevDojo.com](https://devdojo.com/bobbyiliev/how-to-work-with-json-in-bash-using-jq)

ebook/en/content/021-how-to-send-emails-with-bash.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ sudo apt install mailutils
3838

3939
Now that you have `ssmtp` installed, in order to configure it to use your SMTP server when sending emails, you need to edit the SSMTP configuration file.
4040

41-
Using your favourite text editor opent the `/etc/ssmtp/ssmtp.conf` file:
41+
Using your favourite text editor to open the `/etc/ssmtp/ssmtp.conf` file:
4242

4343
```bash
4444
sudo nano /etc/ssmtp/ssmtp.conf
4545
```
4646

47-
You need to incldue the your SMTP configuration:
47+
You need to include your SMTP configuration:
4848

4949
```
5050
root=postmaster
@@ -92,4 +92,4 @@ SSMTP is a great and reliable way to implement SMTP email functionality directly
9292

9393
For more information about SSMTP I would recommend checking the official documentation [here](https://wiki.archlinux.org/index.php/SSMTP).
9494

95-
>{notice} This content was initially posted on the [DigitalOcean community forum](https://www.digitalocean.com/community/questions/how-to-send-emails-from-a-bash-script-using-ssmtp).
95+
>{notice} This content was initially posted on the [DigitalOcean community forum](https://www.digitalocean.com/community/questions/how-to-send-emails-from-a-bash-script-using-ssmtp).

ebook/en/content/022-bash-password-generator.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Generate the passwords and then print it so the user can use it.
8585
# This is where the magic happens!
8686
# Generate a list of 10 strings and cut it to the desired value provided from the user
8787
88-
for i in {1..10}; do (tr -cd '[:alnum:]' < /dev/urandom | fold -w${pass_lenght} | head -n 1); done
88+
for i in {1..10}; do (tr -cd '[:alnum:]' < /dev/urandom | fold -w${pass_length} | head -n 1); done
8989
9090
# Print the strings
9191
printf "$pass_output\n"
@@ -102,13 +102,13 @@ printf "Goodbye, ${USER}\n"
102102
# Ask user for the string length
103103
clear
104104
printf "\n"
105-
read -p "How many characters you would like the password to have? " pass_lenght
105+
read -p "How many characters you would like the password to have? " pass_length
106106
printf "\n"
107107
108108
# This is where the magic happens!
109109
# Generate a list of 10 strings and cut it to the desired value provided from the user
110110
111-
for i in {1..10}; do (tr -cd '[:alnum:]' < /dev/urandom | fold -w${pass_lenght} | head -n 1); done
111+
for i in {1..10}; do (tr -cd '[:alnum:]' < /dev/urandom | fold -w${pass_length} | head -n 1); done
112112
113113
# Print the strings
114114
printf "$pass_output\n"

ebook/en/content/023-bash-redirection.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In Linux, there are 3 File Descriptors, **STDIN** (0); **STDOUT** (1) and **STDE
1313

1414
# Difference between Pipes and Redirections
1515

16-
Both *pipes* and *redidertions* redirect streams `(file descriptor)` of process being executed. The main diffrence is that *redirections* deal with `files stream`, sending the output stream to a file or sending the content of a given file to the input stream of the process.
16+
Both *pipes* and *redidertions* redirect streams `(file descriptor)` of process being executed. The main difference is that *redirections* deal with `files stream`, sending the output stream to a file or sending the content of a given file to the input stream of the process.
1717

1818
On the otherhand a pipe connects two commands by sending the output stream of the first one to the input stream of the second one. without any redidertions specified.
1919

@@ -58,7 +58,7 @@ Example:
5858
echo "Hello World!" > file.txt
5959
```
6060
The following command will not print "Hello World" on the terminal screen, it will instead create a file called ``file.txt`` and will write the "Hello World" string to it.
61-
This can be verified by runnning the ``cat`` command on the ``file.txt`` file.
61+
This can be verified by running the ``cat`` command on the ``file.txt`` file.
6262
```
6363
cat file.txt
6464
```

0 commit comments

Comments
 (0)