What's the best way to learn this?
I went to my local library and borrowed the Linux shell script Bible
>>58996918
Another "Bible" for GNU/Linux...
>>58996853
Code Academy has a pretty good crash course on the basics.
>>58996853
i've been reading this
http://linuxcommand.org/tlcl.php
i'm only on chapter 8 but its very easy to follow. also its free
>>58996984
this is alright too but is pretty superficial in its explanations and only goes over the most basic stuff to do in the command line like moving between directories and some pipelining
>>58996853
$ man bash
>>58996853
browse github for useful bash scripts
>>58996853
Try looking at the screenfetch source code. :^)
Anyway OP, the de facto Bash nerds guide is this:
http://tldp.org/LDP/abs/html/
Another great thing about bash is you can leverage other languages too. you can literally inline Perl, Node.js, and Python if you know what you're doing.
>>58996853
codeacademy's course is a good start
are you retarded? read the manual
>>58996853
I just needed to learn the syntax and get my hands dirty by automating simple/moderate tasks. After you write a couple of them, you'll get the hang of it.
>>58997482
Tlcl is pretty good.
>>58997677
The abs guide is full of misinformation and shut practices that were considered acceptable 20 years ago when it was written
>>58996853
Install shellcheck and set it up as a linter in your editor
>>58996853
I learned from the small book, the Unix Programming Environment, it's still relevant and still the best source, just read modern man pages after to see the changes but there's hardly any changes in sed/grep/awk/bash scripts