What's the best book on #bash or bash scripting (or comprehensive tutorial)?

#asknostr

Reply to this note

Please Login to reply.

Discussion

Stackoverflow

That's my go-to for specific issues. I want to know what I don't know.

I had one of these many years ago.

Bash Pocket Reference: Help for Power Users and Sys Admins

https://www.oreilly.com/library/view/bash-pocket-reference/9781449388669/

May be more helpful if you like super concise cheat sheets you can print and laminate yourself

https://learncodethehardway.org/unix/bash_cheat_sheet.pdf

I primarily just use the GNU Bash Manual https://www.gnu.org/software/bash/manual/

If you're interested in printed books I generally have liked the O'Reilly books, but don't think I'm familiar with their bash books.

A site I thought was interesting I came across could be of use: https://explainshell.com/

And maybe something like bash one-liners can be good for ideas: https://www.bashoneliners.com

I would recommend learning regular expression syntax to while you're at it, if not familar. Many uses. A few resources for that:

https://www.regular-expressions.info/

https://regex101.com/

https://cheatography.com/davechild/cheat-sheets/regular-expressions/

Additionally become familar with common *nix commands: cut, tr, awk, sed, grep, cat, etc

https://www.gnu.org/software/coreutils/

https://www.gnu.org/software/gawk/manual/gawk.html

https://www.gnu.org/software/sed/