News for hackers. Stuff that matters.
Re:Shell Tricks That Make Life Easier (and Save Your Sanity) by MattGrommes on Thursday March 26, 2026 @02:46PM (#47534172)
If only somebody had a lifehack for making me remember all these awesome commands.

If I do something the slow way it's usually because I don't do the operation enough to burn it into my memory, or I got burned by accidentally hitting something close but incorrect once and closed the tab or something.

Re:Shell Tricks That Make Life Easier (and Save Your Sanity) by w-ll on Thursday March 26, 2026 @02:48PM (#47534192)
post-it note until you dont need it anymore
Re:Shell Tricks That Make Life Easier (and Save Your Sanity) by shigawire on Thursday March 26, 2026 @02:54PM (#47534240)
I hate to be the AI guy, but a coach that lived in my terminal and corrected me when I do it the slow way would actually help.
Re:Shell Tricks That Make Life Easier (and Save Your Sanity) by stevthegouws on Thursday March 26, 2026 @06:17PM (#47536528)
I find spaced repetition Anki flash cards surpisingly effective for this kind of thing.

You’d think remembering tonnes of shortcuts and commands and flags would be alot of effort but it’s surprisingly low effort when using cloze deletions and phrased like:

- “… is to delete the last word” - “Ctrl w is to …”

If you’re not familiar with spaced repetition it’s worth checking out, especially if you have a holey memory like mine.

https://ncase.me/remember/