Why Should I Learn Bash Scripting?
Bash scripting will help you automate routine tasks and save valuable time, whether you're a sys admin, Linux user or software developer. Shell script is much quicker than programming in any other languages.

.

Furthermore, why should I learn bash?

Yes, it still is an excellent glue language for doing stuff quickly. For most things that involves files, commands and streams of text, having a good file pipeline and some grasp of bash, will be immensely faster & more efficient than your python code to write.

Beside above, is Python better than bash? Python is the most elegant scripting language, even more than Ruby and Perl. Bash shell programming on the other hand is actually very excellent in piping out the output of one command into another. Shell Scripting is simple, and it's not as powerful as python.

Correspondingly, is bash scripting still relevant?

A simple script that (for example) gets a list of processes, runs through grep and gets some result would be a lot more complicated in other languages. As such, bash is still a good tool for writing quick things. Bash is not only a scripting language, but it is a shell.

How long does it take to learn bash scripting?

If you can paddle around the filesystem and use basic commands to accomplish what you want to do, it should take about 5 minutes to learn how to encapsulate those basic things into a script. Adding new techniques and improving your style probably never ends as long as you're actively scripting.

Related Question Answers

Is bash easy to learn?

Well, with a good understanding of Computer Science, the so-called "practical programming" is not that difficult to learn. Bash programming is very simple. You should be learning languages like C and so forth; shell programming is rather trivial compared to these. Although, it is important to learn.

Is bash outdated?

BASH will never be outdated. Nor will telnet or EBCDIC. It's already outdated.
Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.