this post was submitted on 16 Jun 2025
60 points (100.0% liked)

Linux

55508 readers
817 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 6 years ago
MODERATORS
 

I've found this to be pretty useful when needing to do recursive / multi-file search and replace. Also has bindings to work within terminal text editors like vim and helix.

Uses rust and ripgrep under the hood for speed.

top 4 comments
sorted by: hot top controversial new old
[–] tasankovasara@sopuli.xyz 2 points 3 days ago (1 children)

Thanks, that'll come in handy!

I guess it's worth mentioning that once (only once) I've seen ripgrep bring a whole LAMP stack production server to a full tilt. A dev using VSCode (which has rg as part of its 'trojan horse' vscode-server it installs and runs as root on any server it's used to edit) did a search and ripgrep went into some kind of death loop hogging 100% of all cpu cores. Probably rare, but kind of shocked me. All our servers now babysit vscode-server with cgroups...

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

I'm curious, why would VS Code be installed on the server and not a developers machine?

[–] tasankovasara@sopuli.xyz 4 points 3 days ago* (last edited 3 days ago) (1 children)

The dev's VSCode application installs a helper package in /root/.vscode-server. Separate copy for every user that connects. It runs a bunch of 'node' processes that often stack up more used CPU time than MySQL. I'm not a fan...

[–] spacemanspiffy@lemmy.world 1 points 3 days ago

Interesting, I appreciate the explanation.

It's crazy how much a single node instance can max out my huge desktop CPU, so I can imagine.