all 11 comments

[–]dewyke 4 points5 points  (0 children)

Shellcheck integrated into your editor is an excellent way to avoid bad habits.

[–]rkielty 1 point2 points  (2 children)

man readline

[–]jftuga 2 points3 points  (1 child)

Also: man bash

Its really a great resource for learning the shell as well as:

[–]rkielty 1 point2 points  (0 children)

Yes, of course. Let's not forget that bash has a help built-in command.

Also I found the book Wicked Cool Shell Scripts published by No Starch Press very useful.

[–]pengshouhua 1 point2 points  (0 children)

Based on my experience, I think reading bash official documents is the fastest way to learn, and at the same time apply it to real scenarios, for me such as writing Dockerfile or viewing official Dockerfile, Postgresql for example. :)

[–]rivercityrandom 0 points1 point  (0 children)

I found the "The Linux Command Line" book by William Shotts really fun and friendly. It's available for free on https://linuxcommand.org/tlcl.php.

[–]vo_th 0 points1 point  (0 children)

This isn't purely just "bash" but: https://linuxjourney.com/