How and Why to Log Your Bash History
spin.atomicobject.com
How and Why to Log Your Bash History
1–10 of 139 posts
Re: How and Why to Log Your Bash History
#2Moreover, bash history doesn't work nicely across different terminal tabs or computers.
Does anybody know a tool providing better command line history?
Re: How and Why to Log Your Bash History
#3Well given that we copy and paste a lot, by mistake there can be credentials and sensitive data in the bash history... Moreover, bash history doesn't work nicely across different terminal tabs or computers. Does anybody know a tool providing better command line history?
Re: How and Why to Log Your Bash History
#4I believe iTerm2 has some support for logging remote commands, but I'm not sure it quite does the trick. Anybody know of another tool that will log both local and remote commands?
Re: How and Why to Log Your Bash History
#5I wish bash history wasn't so broken. I suppose once upon a time it was ok to assume people only had one shell session at a time.
Re: How and Why to Log Your Bash History
#6Well given that we copy and paste a lot, by mistake there can be credentials and sensitive data in the bash history... Moreover, bash history doesn't work nicely across different terminal tabs or computers. Does anybody know a tool providing better command line history?
I started this in response to a HN post some years ago.
Re: How and Why to Log Your Bash History
#7Well given that we copy and paste a lot, by mistake there can be credentials and sensitive data in the bash history... Moreover, bash history doesn't work nicely across different terminal tabs or computers. Does anybody know a tool providing better command line history?
There's several controls to make the bash history do what you want. The defaults are just a bit odd.
Re: How and Why to Log Your Bash History
#8Re: How and Why to Log Your Bash History
#9This is useful if you are developing locally, but what if a lot of your command line usage is on remote servers that you have SSH'd into? I believe iTerm2 has some support for logging remote commands, but I'm not sure it quite does the trick. Anybody know of another tool that will log both local and remote commands?
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
#10This is useful if you are developing locally, but what if a lot of your command line usage is on remote servers that you have SSH'd into? I believe iTerm2 has some support for logging remote commands, but I'm not sure it quite does the trick. Anybody know of another tool that will log both local and remote commands?