Full credit for finding this goes to Barry K.
From a post he made in another topic:
On the subject of learning C, or shell scripting, or whatever, I recently discovered this site, heaps of free programming ebooks:
https://freecomputerbooks.com/
I have downloaded some C and Rust books.
Looks like great choices under the shell scripting category: