Linux Bash Scripting for Beginners: Write Your Own Scripts




Linux Bash Scripting for Beginners: Write Your Own Scripts

Have you ever been frustrated by that script that just did not work? Are you tired of searching the web for a ready-made script, hoping that it will fix your problem? Want to sit back and relax for a couple of seconds while your script performs the task that would have taken you two hours to accomplish manually? Then you have come to the right course!

This course will help you build your own scripts and understand the ones written by others. No more relying on scripts that others built and hoping that they will solve your custom problems. Just writing your own solutions to your own problems.

Take this course to get:

  • Learning by example, so that instead of going through boring theoretical concepts, you get to see exactly how each concept applies in practice.
  • Monthly challenges to help you gain experience and trust in your own abilities.
  • Interactive, supportive experience, as I promptly reply to your questions when things just don't work.
  • 30-day money back guarantee if you don't like this course for any reasons, no questions asked.


In short, you will learn the basic building blocks of bash, watch how a real-life utility is built, do the monthly challenges and solve coding problems in the discussion area to gain experience (did I mention the prizes?).

The first section covers basic building blocks that allow you to write your own shell scripts, which are presented in a learn-by-example fashion. Here you will learn about basic linux command line utilities used throughout the course, a simple script structure, defining functions, using input/output redirection, pipes and command substitution. The last lectures in this section focus on control statements, like if, case, while and for.

In the second section I will show you how to build a simple real-life utility for monitoring the amount of traffic on a network interface. There are two scripts involved in this utility. The "core", that queries system data about a network interface and adds it to a comma-separated-values (csv) file, one line at a time. The other one will take care of scheduling the "core" to be run at specific times, based on a user specified interval. The result is a csv file that contains data collected at specific points in time, data that can be later processed into a spreadsheet application (e.g. build graphs from it).

The rest of the course, what I call the dynamic part, is built in time. You will find here lectures on various command line utilities (e.g. find) or more in-depth lectures on subjects like redirection. I also post monthly challenges for you to gain some much needed experience, in order to ascend from a beginner to an intermediate level.

==========================================================

**** Monthly challenges (with prizes) ****

Jun '16: Utility to count the occurrences of a letter inside a text file

Mar '16: Textify, an utility that takes an integer number and converts it to text

Jan '16: Utility to equally space lines in a text file

Dec '15: Host ping reply time monitor

==========================================================

Update History

May 22nd 2016: Published solution for the January challenge

Feb 29th 2016: Published solution for the December challenge

Jan 3rd 2016: New lecture on xargs

Nov 22nd 2015: New section on standard end error output redirection

Nov 15th 2015: New lectures on the find utility and the proc filesystem.

Oct 10th 2015: New quiz on parameters

Make your work easier, understand bash scripts written by others and build your own from scratch

Url: View Details

What you will learn
  • Create and understand bash scripts.
  • Automate tasks in the Linux environment
  • Create a simple network monitoring utility in Linux

Rating: 3.85

Level: Beginner Level

Duration: 2.5 hours

Instructor: Andrei Bunghez


Courses By:   0-9  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

About US

The display of third-party trademarks and trade names on this site does not necessarily indicate any affiliation or endorsement of hugecourses.com.


© 2021 hugecourses.com. All rights reserved.
View Sitemap