facebook youtube pinterest twitter reddit whatsapp instagram

Week 15 (Final Update)

It is crazy how far I have come, it looks like yesterday to me :) I finally mastered the essentials of bash scripting. In week 6 I said I was tired of doing repetitive tasks manually, and I decided to delve into bash scripting, and here we are.

It took me around 2 months to get my head around most of the essentials, and honestly, I only go through bash once or twice a week, imagine I do this 3 - 5 days a week, I would have completed it in a month.

Note, it is not as if I have no knowledge about a programming language, I did this in school, and I also have bundles of notes on a wide array of programming languages; Cobol, Basic, PHP, Fortran, Java, also, the understanding of computer language in general, i.e the types of computer languages, data structure & algorithm and the likes. So, this helped a ton.

How did I learn the essentials quickly?

I did this by reading around 3 to 4 books plus manual documentation on bash scripting, so, wherever one doesn't make sense, I go over to the next one. I am not a fan of learning using video, but I took a course that was created around 1999 or so on Unix scripting (It is an excellent course), this melded everything together, although some stuff mentioned in the video is no longer through, but I go over documentations to correct things myself.

The bread and butter of this week is the program I wrote to Automate the installation of multiple ClassicPress or WordPress sites using Nginx (plus caching), PHP, and MariaDB, I also provided an option to secure the websites using Let's Encrypt, here is a link to the posts and script:

From now on, I would be writing "How To" guides on how to install or configure programs in Linux or a Unix-like O.S, I would include scripts wherever it makes sense. I will do this for a couple of months before starting another journey, I am planning to go deeper into PHP and or Laravel, but that would be for another weekly journey, gracias.

Related Post(s)

  • Week 14 Update

    Week 14 was more about filters in bash scripting, a filter can take either standard input (your keyboard) or the contents of one or more files, the input just gat to come from somewhere, be it a key

  • Week 12 Update

    I am super happy with my progression on bash scripting, and I promised on Week 11 that I have more bash scripting loading, and here it is. I created a script optimizes images in bulk, It was intende

  • Week 13 Update

    Yh, I am into functions in bash, but I still have more to learn about functions, so, for now, this is what I have: Functions in Bash Returning Values From Functions in (Bash)

  • Week 11 Update

    In week 10, I said, I wrote a couple of scripts which I'll postpone for week 11, and yeah, I did just that, I was working on a project with a colleague where we need to replace about a thousand of st

  • Week 9 Update

    Nothing much to say, I'll just keep grinding. Well, I wrote a couple of guides that I couldn't publish, so, I'll probably save that for other weeks, here are week 9 guides: Sourcing With Bash Local

  • Week 10 Update

    I wrote a couple of script that couldn't make it into this week, so, I'll postpone that for the coming weeks, here are week 10 guides: Simple Conditional Execution With (Command Lists) Check If Vari