I am currently looking for a way to easily store and run commands, usually syncing files between two deeply nested directories whenever I want.

So far I found these projects:

Other solutions:

  • Bash history using ^+r
  • Bash aliases
  • Bash functions

What do you guys use?

  • jsveiga@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I use vi as the command line editor, so fetching history commands is quick:

    ESC /searchstring

    But if it’s something really frequent or may benefit from parameters, I usually throw a perl or bash script in /usr/local/bin.