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
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
I dare you to try grep -Irn alias in your home dir.
=> More informations about this toot | More toots from MonkderVierte@lemmy.ml
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
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
Alright, I’m gonna try it and see how long this takes!
=> More informations about this toot | More toots from CrabAndBroom@lemmy.ml
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
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 This content has been proxied by September (3851b).Proxy Information
text/gemini