this post was submitted on 21 Sep 2023
46 points (100.0% liked)

Free and Open Source Software

17926 readers
30 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] dylanmorgan@slrpnk.net 10 points 1 year ago (10 children)

This may be the wrong place to ask, but what am I missing about shells? Other than executing commands, what do you do with them?

[–] SWW13@lemmy.brief.guru 2 points 1 year ago (5 children)

You can do most things by combining simple cmdline tools. E.g. filter out some specific lines from all files in a directory, get the value after the second :, write those to another file and then sort, deduplicate and count them.

This may sound complicated, but it's pretty easy and fast if your are familiar with a shell. To be that efficient with your shell you want it to actually be powerful and not just a plain text input. Also writing cmdline tools is rather easy compared to a usable GUI tool.

[–] smeg@feddit.uk 1 points 1 year ago (4 children)

Genuine question: why not use grep, awk, sed, or any of the other gnu tools that can already do that?

[–] SWW13@lemmy.brief.guru 1 points 1 year ago

That's what I meant, using your shell to run command line tools to solve your issue at hand. And having a powerful shell with e.g. context dependend autocomplete (and a lot more) helps to speed up that task.

load more comments (3 replies)
load more comments (3 replies)
load more comments (7 replies)