In addition to the other suggestions here, you may also want to check out cheat. It gives you very quick access to lists of commands/options, both community-created as well as commands you save yourself.
I use cheat instead of tldr. Because cheat supports custom cheatsheet without connect to network to search.
I even use cheat to collect useful snippet of code.
Some strange command you can add a additional category, for example `cheat other`
You could use cheat to help you with the basic commands. I learned about it a few days ago on a similar Linux sub reddit. Helped me quite a bit, although the installation part might be quite tricky.
While at it, why don't you get <code>cheat</code> as well?
That way you can both cheat
and fuck
, and you don't even need protection, because the only STD involved is the python stdlib, which is (mostly) harmless to humans!
pet ftw! You'll quickly build up a collection of snippets that you can search through (and add your own tags for search terms that are relevant to you or the use case).
Additionally, you can template the snippet so that you just need to fill in the fields that change (e.g. a host name) and the command gets run.. so handy.
Also, check out cheat which provides cheatsheets on most commands. Not quite what you're after, but a handy addition
Oh, and I forgot to add: use cheatsheets! I use cheat. It's text based and you can get around your cheats really fast:
https://github.com/cheat/cheat
​
These are the equivalent of writing Anki cards except they are much more accessible and easier and faster to look up when you want to remember something fast. Be diligent about using cheatsheets instead of Anki. It's far more useful.
I use the cheat utility https://github.com/cheat/cheat
quick reminders for command line syntax or what ever you want to remember on there.
cheat rsync # To copy files from remote to local, maintaining file properties and sym-links (-a), zipping for faster transfer (-z), verbose (-v). rsync -avz host:file1 :file1 /dest/ rsync -avz /source host:/dest
# Copy files using checksum (-c) rather than time to detect if the file has changed. (Useful for validating backups). rsync -avc /source/ /dest/
# Copy contents of /src/foo to destination:
# This command will create /dest/foo if it does not already exist rsync -auv /src/foo /dest
# Explicitly copy /src/foo to /dest/foo rsync -auv /src/foo/ /dest/foo