Source: https://unsplash.com/
This repository follow the tutorial on (https://youtu.be/v-F3YLd6oMw) created by Traversy Media.
All the additions and modifications have an educational purpose. The script can be used on the Ubuntu WSL.
- first clone the repo inside your WSL (Linux sub system for Windows):
git clone https://github.com/mbenetti/Bash_course.git
- Within the folder Bash_course run the following command:
code .
- Follow the file in numeric order by uncommenting lines, saving the file and run the scrip with:
./Intro_to_bash.sh
In case to have an error when you run the script, please check the first two point of the file:
-
With the command
which bashwe get the location bash in out system (in my case it was:/usr/bin/bash) and change the first line of the file accordingly. -
Remember to enable the rights to run the script with
chmod +x Intro_to_bash.sh
Update 10.2022. Now you can follow and copy and paste the code blocks from the ebook.
https://mauro-benetti-1.gitbook.io/tutorials/intro-to-bash
Images from https://pixabay.com (Free for commercial use, No attribution required )
For more projects, visit https://maurobenetti.ml
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
