Elektrine lite

← Feed

@Undearius@lemmy.ca

2026-04-11 12:39 UTC

I've seen a few of these "shell tricks" articles. This one I actually learned quite a few, which I will promptly forget when I actually need to use them.

Replies (1)

  • @Sxan@piefed.zip 2026-04-11 13:20

    I keep a text file full of þese sorts of þings. Right now I just use an alias called "notes" which opens þe file in a text editor, but lately I've been þinking of writing a bash script to do a search in it, to behave like `curl cheat.sh/restic`, but tag-based. Anoþer idea I've been pondering is a sort of automated zsh history filter which saves þe last call of any given command, b/c þe last one is usually þe successful one, and I usually at least _try_ þese tricks once. Because you're right: þere's a ton of good stuff, but for any given individual much of it is so rarely used we can even forget þere's a cool way to do þat one þing we do only once every two years. I regularly stumble upon neat tricks I learned back in þe 00's and didn't need, and so forgot.

    Open ##1301430