Ancestors

Written by squid_slime@lemm.ee on 2024-08-21 at 17:32

What is the most duct-tape thing you've done to Linux?

https://lemm.ee/post/40221370

=> More informations about this toot | More toots from squid_slime@lemm.ee

Written by Random Dent on 2024-08-21 at 18:57

I have a folder full of scripts tied to aliases that fix various things when they go wonky, and I’ve long since forgotten what any of them do. I just know if xxx app stops working, I type fix_xxx into the terminal and then it does a bunch of stuff and then it works again lol.

Also I have a bunch of aliases tied to common tasks, like e1 = reboot, e2 = shutdown etc. I have no idea where that habit came from.

=> More informations about this toot | More toots from CrabAndBroom@lemmy.ml

Written by MonkderVierte@lemmy.ml on 2024-08-21 at 19:14

I dare you to try grep -Irn alias in your home dir.

=> More informations about this toot | More toots from MonkderVierte@lemmy.ml

Written by Random Dent on 2024-08-21 at 21:27

I’m not even sure what that would do! Presumably list every time the word alias appears in every file across the whole home directory or something like that?

=> More informations about this toot | More toots from CrabAndBroom@lemmy.ml

Written by MonkderVierte@lemmy.ml on 2024-08-22 at 10:56

Rtfm!

No, seriously, -I avoids binaries, -r recursively, -n print matching file and line number.

=> More informations about this toot | More toots from MonkderVierte@lemmy.ml

Toot

Written by Random Dent on 2024-08-22 at 15:25

Alright, I’m gonna try it and see how long this takes!

=> More informations about this toot | More toots from CrabAndBroom@lemmy.ml

Descendants

Written by MonkderVierte@lemmy.ml on 2024-08-22 at 16:43

If you have games there, yeah. Ripgrep is way faster. But grep is good enough in most cases.

=> More informations about this toot | More toots from MonkderVierte@lemmy.ml

Written by Random Dent on 2024-08-23 at 21:21

I did! I know where they are and which scripts they point to, but as for going into the scripts and trying to remember what they’re actually doing… I’ll get to it some day lol

=> More informations about this toot | More toots from CrabAndBroom@lemmy.ml

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113006366034275607
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
403.105233 milliseconds
Gemini-to-HTML Time
1.07535 milliseconds

This content has been proxied by September (3851b).