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...
.
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.