From f53c58b01285048eb8eec97fde738c29c456e457 Mon Sep 17 00:00:00 2001 From: mo8it Date: Wed, 16 Aug 2023 23:42:20 +0200 Subject: [PATCH] Fix typos --- src/day_1/tasks.md | 2 +- src/day_1/terminal_basics.md | 2 +- src/day_2/clis_of_the_day.md | 2 +- src/day_2/glue.md | 4 ++-- src/day_2/shell_tricks.md | 2 +- src/day_2/terminal_upgrade.md | 4 ++-- src/day_3/tasks.md | 4 ++-- src/day_4/shell_scripting.md | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/day_1/tasks.md b/src/day_1/tasks.md index c79be7c..133ab25 100644 --- a/src/day_1/tasks.md +++ b/src/day_1/tasks.md @@ -95,7 +95,7 @@ Now, destroy the whole living room with the zombie in it. ## Task: Password πŸ”‘ ⚠️ Launch the [fish shell](https://fishshell.com/) by running the command `fish` and stay in it for all following tasks. -If you close the terminal and lauch it later again, you have to run `fish` again. +If you close the terminal and launch it later again, you have to run `fish` again. We will learn more about the fish shell later. Use the command `passwd` to reset the password of your user. It is important to have a secure password! diff --git a/src/day_1/terminal_basics.md b/src/day_1/terminal_basics.md index 05a79dd..d1dbb5b 100644 --- a/src/day_1/terminal_basics.md +++ b/src/day_1/terminal_basics.md @@ -172,7 +172,7 @@ The loud friend is removed! > **Note**: Although `rm` deletes the file from the file system, there is still some chance that the file content still exists on the disk. > One could try to recover it with some tools, but it is hard and nothing is guaranteed. -> Nevertheless, if you want to delete something senstive for sure, then you have to use a tool that overwrites the file content before deleting it. +> Nevertheless, if you want to delete something sensitive for sure, then you have to use a tool that overwrites the file content before deleting it. > Physically destroying the whole disk is also an option πŸ”₯πŸ˜‚ Does `rm` also work with directories? diff --git a/src/day_2/clis_of_the_day.md b/src/day_2/clis_of_the_day.md index f0dadf9..124e6a7 100644 --- a/src/day_2/clis_of_the_day.md +++ b/src/day_2/clis_of_the_day.md @@ -54,7 +54,7 @@ Here is an example that shows the content of all files with the extension `.txt` ls *.txt | xargs cat ``` -If you have the files `fiel1.txt` and `file2.txt` in the current directory, then the command above is equivalent to just running `cat file1.txt file2.txt`. +If you have the files `file1.txt` and `file2.txt` in the current directory, then the command above is equivalent to just running `cat file1.txt file2.txt`. ## ripgrep diff --git a/src/day_2/glue.md b/src/day_2/glue.md index 211ae2d..718898b 100644 --- a/src/day_2/glue.md +++ b/src/day_2/glue.md @@ -20,8 +20,8 @@ How could you use `wc` without arguments? You might have guessed it now, make some `wc` pipes. OK, I admit that the naming is not the best πŸšΎπŸ˜‚ -Let's get some data to work with.c -To do so, we will use the command `curl` which graps content from the internet. +Let's get some data to work with. +To do so, we will use the command `curl` which fetches content from the internet. Let's count the number of lines of the HTML file of the homepage of this book: diff --git a/src/day_2/shell_tricks.md b/src/day_2/shell_tricks.md index ea6d02e..885594a 100644 --- a/src/day_2/shell_tricks.md +++ b/src/day_2/shell_tricks.md @@ -14,7 +14,7 @@ Here are some examples: - `touch dir/sub1/file{1,2}.txt` ➑️ `touch dir/sub1/file1.txt dir/sub1/file2.txt` - `cp dir/sub1/file1.txt{,.bak}` ➑️ `cp dir/sub1/file1.txt dir/sub1/file1.txt.bak` -> **Note**: The additional extension `.bak` is sometimes used for **ba**c**k**ups. +> **Note**: The additional extension `.bak` is sometimes used for backups. ## Globbing diff --git a/src/day_2/terminal_upgrade.md b/src/day_2/terminal_upgrade.md index cd796e2..fb139d6 100644 --- a/src/day_2/terminal_upgrade.md +++ b/src/day_2/terminal_upgrade.md @@ -15,7 +15,7 @@ Bash offers basic (auto)completion, but Fish takes it to the next level! Type `ls ~/` (without hitting `Enter` yet) and press `Tab` twice in Bash. Bash will just show you all possible completion options. But Fish will let you cycle through these options with `Tab` and `Shift + Tab` to choose one! -This doen't only work with paths, but also for commands and even command options! +This doesn't only work with paths, but also for commands and even command options! In Bash, you you can cycle through your command history using the up and down arrow keys. But in Fish, you can also start a command and _then_ cycle through your history that has the same **prefix** with the up and down arrow keys! @@ -119,7 +119,7 @@ Everytime you start zellij, you have to start fish afterwards. Wouldn't it be awesome to have Fish as the default shell in Zellij? Let's make it the default one! -Add the following line to the beinning of the configuration file `~/.config/zellij/config.kdl`: +Add the following line to the beginning of the configuration file `~/.config/zellij/config.kdl`: ```kdl default_shell "/usr/bin/fish" diff --git a/src/day_3/tasks.md b/src/day_3/tasks.md index 767c843..2f0cbce 100644 --- a/src/day_3/tasks.md +++ b/src/day_3/tasks.md @@ -42,7 +42,7 @@ But for a better security in general, you should use a passphrase for your SSH k You can take a look at [this guide](https://docs.codeberg.org/getting-started/first-repository/) for this task. -Create a new repositry called `dev-tools-demo` and clone it to your machine with `git clone SSH_GIT_LINK`. +Create a new repository called `dev-tools-demo` and clone it to your machine with `git clone SSH_GIT_LINK`. After cloning, a new directory should be created with the name of the repository. Move into that directory and create the markdown file `README.md`. @@ -69,7 +69,7 @@ $ git commit -m "MEANINGFUL MESSAGE" `push` your changes after being done with all building blocks. -Verfiy that the README file was rendered as expected. +Verify that the README file was rendered as expected. If not, fix the Markdown issues, commit and push the changes again. ## Task: License diff --git a/src/day_4/shell_scripting.md b/src/day_4/shell_scripting.md index c2068bc..3408566 100644 --- a/src/day_4/shell_scripting.md +++ b/src/day_4/shell_scripting.md @@ -322,7 +322,7 @@ fi - +