Top 5 Free Course to Learn Bash and Shell Scripting in Linux Online

Hello guys, the importance of Linux is well known but what many programmers don't know about how to write shell scripts to make most of it.  Some of them even not familiar with various Linux shell like bash, csh, or ksh, which further limit their ability. If you don't know bash is a UNIX shell and command language which is also a default login shell for many Linux system and Mac OS. It provides the ability to write scripts to do things programmatically.  Shell scripting is an important skill to become an efficient developer or programmer. It allows you to automate trivial tasks which otherwise takes away your valuable time. It also allows you to do thing quickly.

For example, if you have to copy a file into 10 Linux hosts and if you do it manually using ssh or scp it might take 10 minutes but if you know shell scripting, then you can quickly create a script in 5 minutes and copy the files in another 1 minutes, you not just save 4 minutes right there but for all future work you have a script which can do this job in just one minute.

Just knowing some simple control and loop constructs along with bash variables make a lot of difference. That's the reason I suggest every programmer learn shell scripting with Linux. This is also one of the skills which separate great developers from average ones.

Some of the programmer I have met argued that it's better to learn Python rather than shell scripting because they have more power and you can do a lot more stuff with them. Well, that's true, Python has a module for almost every possible things and if you know Python and you can get Python in the host you are working then stick with that, but, most of the time it's not guaranteed.

Sometime, you won't find Python or Perl in the server or you just don't have access to them. In that case, simple shell commands and scripting skill helps a lot. And, it won't take long to learn Shell scripting as there is very little to learn. So, you can quickly become productive.

A couple of months ago, I have shared some of the best courses to learn Shell Scripting but then my readers were asking about some free courses and this article is born. But, if you don't mind paying some bucks for your learning then you can also check out that list.

As I have said before, I've used shell scripts to save myself many hours of tedious and boring work. More importantly, having the ability to write shell scripts have helped me enormously in my career, especially during release, support, and troubleshooting production issues.





5 Free Courses to learn Shell Scripting in Linux

Anyway, here is my list of some of the free courses to learn Shell scripting in Linux. Some people think that free resources are not worthy of their time as they are often inferior and doesn't cover all the topics.

While I agree that free courses are often not as comprehensive as their paid one, which is obvious but most free courses on Udemy are very good quality, especially those which are recently launched and just made free by their instructor for a promotional and educational reason.

If you have decided to learn Shell Scripting this year, these courses are a nice way to kick-start your journey.


1. Intro to Linux Shell Scripting (Free course)
This is a mini-course to get up to speed with Linux shell scripting quickly in just about 1 hour and perfect for beginners who are just starting with bash shell itself.

This online shell scripting course will teach you the essentials of writing your own Linux shell scripts and also help you to avoid the most common mistakes made by inexperienced Linux users, writing shell scripts for the first time.

You will also learn about best practices and standard conventions, like a simple technique that can make amazingly complex scripts easy to write, read, and maintain in the future.

Since there is no IDE in Linux and you have to rely on VIM it makes sense to create simple scripts which are both easier to read and maintain. This is the single most important thing I can suggest you based upon my years of experience in writing shell scripts.

Overall, a nice little free course to learn Linux shell scripting in 1 hour.

Intro to Linux Shell Scripting (Free course)




2. Linux Command Line for Beginners
As I have told you Bash shell scripts allow you to automate just about any task on a UNIX system and this course will teach you how to achieve that in a very short time.

In this course, you will learn how to write shell scripts for automating tasks on UNIX systems, learn how to perform basic networking tasks on the command line - file transfer using cURL and wget and check connectivity using ping and telnet command

It's neither very long nor very short with just 4.5 hours of content you will start shell scripting with a bash from scratch. The course starts with what is a Shell script and why you should learn and then it goes on how to create a script and execute it in Linux.

It then goes on to explain other parts like variables, control structure, bash special characters, functions and some fun with String. Talking about social proof the course has on average 4.2 ratings from close to 4800 students which are nice.

Linux Command Line for Beginners free course




3. Red Hat Enterprise Linux Shell Scripting Fundamentals
This is another awesome course to learn the fundamentals of shell scripting but from Pluralsight. The course is very well thought and well organized and the pace of the course is also good for beginners.

It starts with very basics concepts like what a script is and how to create a simple bash script and then it gradually increases the complexity of script by introducing you with essential concepts like variables, bash parameters, positional parameters, conditionals, loops, and functions.

This means after completing this course you will be able to not only read existing shell script and modify them but also to create your own bash scripts from scratch.

The only gotcha is this course is not exactly free as you need Pluralsight membership to access this course, which cost around $29 per month or $299 per year. Though, I got the full membership last year on just $199 on one of their sales.

Anyway, even if you don't have Pluralsight membership, you can still access this course for free by taking advantage of their 10-day free Pass which provides 200 minutes access to all of their courses. This course is 2.5 hours long which means you can easily watch the full course for free.






4. Bash Basics for Cloud Computing
This is another fantastic course to learn about essential Bash commands and basic scripting skills but it focuses on cloud systems.

If you have been worked in the Cloud like Amazon Web Services or AWS, Microsoft Azure, or even Google Cloud then you know that bash commands and scripts are a very important part to work efficiently in the cloud.

And, in this course, you will not only learn about to common bash commands but also some less common bash commands which we've found repeatedly useful in Cloud. In short, a very useful free course to learn bash and shell scripting particularly for Cloud users.

Talking about the social proof the course has got on average 4.0 rating from more than 3000 learners which are not bad. 

free courses to learn linux bash scripting





5.  Introduction to the Bash Shell on Mac OS and Linux
This is one more awesome course to learn Bash shell in Linux. In this course, you will first learn the basic concepts and commands you need to start using Bash on Linux and Mac OS X.

After that, it moves on to shell scripting using bash with variables, functions and other techniques to write proper bash scripts. In short, a nice course to learn bash shell on Linux or Mac OS.

Top 5 Free Course to learn Bash and Linux Shell Scripting



That's all about some of the free courses to learn shell scripting in Linux with bash, csh, ksh or other shell programs. You don't need to learn every single shell out there, I suggest just stick with the bash, as its not only the most popular Linux shell but also default login shell for Mac OS. I have worked in so many different organization and I have found bash shell available to me most of the time. Last but not least, it also powerful and easy to work as compared to other shells.


Other Free Online Courses for Programmers


Thanks for reading this article so far. If you like these free courses to learn Shell Scripting with a bash in Linux then please share with your friends and colleagues. If you have any questions or feedback then please drop a note.

P. S. - If you don't mind spending few bucks for something worth learning and looking for the best course then Linux Shell Scripting: A Project-Based Approach to Learning is one of the best one to start with, particularly if you follow learn by doing approach.

No comments:

Post a Comment