I’ve used distrobox more and more and am at the point where I need to start saving and integrating history differently. Or like, when I’m installing and building something complicated, I need to start saving that specific session’s history. I am curious what others might be doing and looking for simple advice and ideas.

  • FigMcLargeHuge
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 months ago

    Maybe a little primitive, but I copy my .bash_history file to a folder with a dated name every afternoon using a cron job. Then I can just grep that for commands I know I ran in the past. ‘sort -fu’ will remove the duplicates in the results.