this post was submitted on 30 May 2024
202 points (99.0% liked)

Linux

48461 readers
415 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] CosmicTurtle0@lemmy.dbzer0.com 10 points 6 months ago (3 children)

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

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

[–] learnbyexample@programming.dev 2 points 6 months ago (1 children)

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

[–] CosmicTurtle0@lemmy.dbzer0.com 4 points 6 months 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.

[–] ____@infosec.pub 2 points 6 months 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.