Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zooz
· 15y ago · 0 comments
It appends the "new" history lines to a $HISTFILE by default, unless other file is specified.
Comments
[–]
atesti
15y ago
Thanks, that's what I was missing: -a can have a file. Cool stuff and thanks to all for explaining it.
http://unixhelp.ed.ac.uk/CGI/man-cgi?history
does not mention the command line argument,
http://linux.die.net/man/1/bash
does.
[–]
zooz
OP
15y ago
You're welcome, it took me a bit of time to come up with this idea, of course, it's not perfect, but does the job pretty well.