Skip to content

💻 Learn Bash Shell Scripting by doing Exercises for Programmers

License

Notifications You must be signed in to change notification settings

henryhale/learn-bash

Repository files navigation

Bash Logo

Learn Bash Shell Scripting

Introduction

This repo is based on a book titled: Exercises for Programmers: 57 challenges to Develop Your Coding Skills by Brian P. Hogan, edited by Susannah Davidson Pfalzer.

The book can be downloaded here.

"This book is all about practicing your craft as a programmer. Flip to a page in this book, crack open your text editor, and hammer out the program. Make your own variations on it. Do it in a language you’ve never used before. And get better and better each time you do it."

Contents

Below is a list of programs built while learning Bash Shell Scripting

  1. Saying Hello
  2. Counting Characters
  3. Printing Qoutes
  4. Mad Lib
  5. Simple Math
  6. Retirement Calculator
  7. Area of a Rectangular Room
  8. Pizza Party
  9. Paint Calculator
  10. Self Checkout
  11. Currency Conversion
  12. Simple Interest

Why?

I qoute some of the most motivational statements I've ever read:

"The best software developers I’ve ever met approach their craft the same way. They don’t go to work every day and practice on the employer’s dime. They invest personal time in learning new languages and perfecting techniques in others. Of course they learn new things on the job, but because they’re getting paid, there’s an expectation that they are there to perform, not practice."

Most important of all...

"But that’s the real value of these exercises; they’ll help you learn a language and how that language is different from what you already know."

Development

Clone this repository

git clone https://github.com/henryhale/learn-bash.git

Navigate to the repository folder

cd learn-bash

Make the init.bash file executable

chmod +x init.bash

To get started with a new project, bootstrap one using:

./init.bash [project_name]

To save changes to remote repo, simply run and follow the prompts

./git.bash

More Resources

Challenges

Archives

Videos