Skip to content

mbenetti/Bash_course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

Introduction to Bash scripting

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.

How to use this repo

  • 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 bash we 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

image


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.

About

Introduction to Bash scripting 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 Windows 10 or 11.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages