I wrote a book on Linux command line tools and Shell Scripting (beginner to intermediate level)

learnbyexample@programming.dev to Linux@lemmy.ml – 202 points –

Hello!

I am pleased to announce a new version of my Linux Command Line Computing ebook.

This ebook aims to teach Linux command line tools and Shell Scripting for beginner to intermediate level users. The main focus is towards managing your files and performing text processing tasks. Plenty of examples are provided to make it easier to understand a particular tool and its various features. There are 200+ exercises to help you practice what you've learned and solutions are provided for reference. I hope this ebook would make it easier for you to discover CLI tools, features and learning resources.

Links:

I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.

Happy learning :)

9

The fact that you keep the spirit of linux here by making it available to all is beautiful. I will definitely take a look!

Congrats. Just bought a copy! Looking forward to reading it!

I swear whenever I see sed/awk commands, it looks like I'm about to summon the demon beast.

sed harbors no demon beasts, in my experience.

On the other hand, by default using sed -i is where the demons come in.

No, sed, NOT in place. Not the first time. Show me what you want to do based on the instructions I gave you, and then we'll talk about letting you play with the real data.

Or at least the 3rd column of demon beasts (whose names then get consistently capitalized) which then get sorted and any duplicates sent back.

Is it regex or sed/awk syntax (or both) that gives you trouble?

I had similar reaction and didn't even try to learn them for years - then I caught the stackoverflow craze of answering CLI questions (and learning from others).

I am pretty okay with regex. Enough that I can do what I want.

sed/awk I've used on occasion, usually sed to change something in a pipeline.

I still feel like I'm casting a demon.