this post was submitted on 24 Nov 2025
228 points (92.5% liked)

memes

18130 readers
2312 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/Ads/AI SlopNo advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] BeigeAgenda@lemmy.ca 5 points 2 days ago* (last edited 2 days ago) (4 children)

Or like me obliviously spending cycles trawling through everything.

find dir/ -iname "*John*Cena*"

or

grep -rIi "John.*Cena" dir/
[–] marcos@lemmy.world 3 points 2 days ago

spending cycles trawling through everything

Beats spending cycles indexing everything and never search them.

[–] qjkxbmwvz@startrek.website 2 points 2 days ago

grep -rIi "John.*Cena" dir/

I have this sort of thing aliased, with some added --include flags to filter file type (e.g., only match source/script files). Super useful!

[–] SlurpingPus@lemmy.world 1 points 2 days ago (1 children)

Use fd and ripgrep at least. It's not the stone age.

[–] BeigeAgenda@lemmy.ca 1 points 1 day ago (2 children)

I'm probably using them already if they are aliased to find and grep.

[–] SlurpingPus@lemmy.world 3 points 1 day ago

Btw, while I'm here: you might also want to look into eza, fzf, bat, and maybe delta (or icdiff for side-by-side comparison). I'm pretty conservative regarding replacement for classic utils, but these are worth it.

[–] SlurpingPus@lemmy.world 1 points 1 day ago

They use different arguments, so unlikely. Though idk if there are wrappers or anything like that.

They're both easier to use and faster, so it's worth making sure to switch.

[–] MonkderVierte@lemmy.zip 1 points 1 day ago

obliviously spending cycles trawling through everything.

Once vs. every time the db gets updated. Database for faster file searching is a HDD relict, imo.