Skip to main content
14 events
when toggle format what by license comment
Jun 6 at 23:10 comment added Gabriel Staples I don't like closing and reopening the terminal. A little history --help reading and tinkering got me realizing that some history -w and history -r action was needed as well. See the steps in my new answer here.
Jun 9, 2019 at 2:53 comment added Ivor Scott and its ~/.zsh_history for zsh. don't forget to to relaunch terminal
Nov 29, 2016 at 10:46 history edited Fizer Khan CC BY-SA 3.0
deleted 213 characters in body
Nov 29, 2016 at 10:42 comment added superhero @FizerKhan I mean that changes made in .bash_history can be overwritten by what is kept in memory. I found this solution helpful: superuser.com/a/384383/253543
Nov 29, 2016 at 10:27 comment added Fizer Khan @ErikLandvall Understood. You mean: Even If I close the terminal, there is no guarantee that history will be write to .bash_history file?
Nov 29, 2016 at 9:47 comment added superhero @FizerKhan that wont help the fact that it's kept in memory. It's the history file that is kept in memory sometimes, so even if you edit the file it wont take effect..
Nov 29, 2016 at 7:03 comment added Fizer Khan @ErikLandvall You have to close the terminal and open another terminal and edit the history file.
Nov 29, 2016 at 7:02 history edited Fizer Khan CC BY-SA 3.0
added 217 characters in body
Sep 15, 2016 at 8:39 comment added superhero sometimes it's kept in memory and any manual editing wont be persisted after next login..
Nov 16, 2015 at 12:21 review Low quality answers
Nov 16, 2015 at 15:29
Jul 22, 2015 at 22:39 comment added waltwood If you do this with vim you may find your deletion history in ~/.viminfo so be sure to remove that too!
Dec 11, 2014 at 10:13 comment added khaled_webdev will take effect after relaunching (closing and re-opening) the terminal
Feb 7, 2013 at 12:11 comment added Tyler Jandreau @WherethereisaWill OP wanted a script, not a manual plug and chug.
Feb 7, 2013 at 12:07 history answered WheretheresaWill CC BY-SA 3.0