News for hackers. Stuff that matters.
Re:How and Why to Log Your Bash History by blowski on Tuesday May 31, 2016 @10:22AM (#11806657)
Another problem for me is the ephemeral nature of many of the boxes I work on - Vagrant boxes, spot instances on AWS. I suppose I could do this and then export the bash history as part of the teardown process.

At the moment, I get around this by storing as much as I can in searchable scratch files, but this relies on me knowing what to copy. I'm sure there's a better way.

Re:How and Why to Log Your Bash History by mrSugar on Tuesday May 31, 2016 @10:36AM (#11806734)
Work through ansible and manage your local ansible.log however you wish.
Re:How and Why to Log Your Bash History by blowski on Tuesday May 31, 2016 @10:39AM (#11806749)
Any way I can do it with Puppet?
Re:How and Why to Log Your Bash History by superuser2 on Tuesday May 31, 2016 @12:20PM (#11807456)
Do what? Puppet doesn't have a facility for running ad-hoc remote shell commands on demand. Sort of the whole point is to not do that.