First do a history -c and then a history -w to actually write everything on the .bash_history file (and overwrite it). Then a reset clears the scroll buffer as well and all the past is forgotten and erased!
source - https://lists.fedoraproject.org/pipermail/users/2006-May/290451.html
# history -c && history -w
'System > Linux' 카테고리의 다른 글
linux - env (0) | 2015.07.09 |
---|---|
linux - kmod vs akmod (0) | 2015.07.05 |
linux - What is the difference between reboot , init 6 and shutdown -r now? (0) | 2015.06.27 |
linux - What is the purpose of having three(or more?) directories with icons? (0) | 2015.06.24 |
linux - gnome desktop file (0) | 2015.06.23 |