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

2 years ago by learnbyexample to c/linux

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 :)

Hellmo_Luciferrari 20 points 2 years ago

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

path: 0 10347828, hotness: undefined, score: 20, children: 0
Hagenman 10 points 2 years ago

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

path: 0 10346945, hotness: undefined, score: 10, children: 0
CosmicTurtle0 10 points 2 years ago

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

path: 0 10351061, hotness: undefined, score: 10, children: 4
zero_spelled_with_an_ecks 2 points 2 years ago

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

path: 0 10351061 10351772, hotness: undefined, score: 2, children: 0
____ 2 points 2 years ago

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.

path: 0 10351061 10354216, hotness: undefined, score: 2, children: 0
learnbyexample 2 points 2 years ago

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).

path: 0 10351061 10361601, hotness: undefined, score: 2, children: 1
CosmicTurtle0 3 points 2 years ago

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.

path: 0 10351061 10361601 10365792, hotness: undefined, score: 3, children: 0
Sunny 5 points 2 years ago

Very Neat! Saving this to my wishlist 🙌

path: 0 10357769, hotness: undefined, score: 5, children: 0
PipedLinkBot 3 points 2 years ago

Here is an alternative Piped link(s):

https://piped.video/vedRFbWwx_c

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

path: 0 10346404, hotness: undefined, score: 3, children: 0
linux
linux

@lemmy.ml

login for more options
68121
9466
5670

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

go to feed...