I can confirm this in Karmic. This is not because I have other instances
of bash running; "ps x | grep bash" shows only the instance where I'm
typing history -c.

After issuing "history -c" the history no longer can be accessed through
the UP arrow, but ~/.bash_history is intact. If I exit and reopen a bash
session (through gnome-terminal or CTRL-ALT-F1) the history is still
there (now accessible through the UP arrow).

There are two possible workarounds:

history -c; history -w

or

rm ~/.bash_history

** Changed in: bash (Ubuntu)
       Status: New => Confirmed

-- 
"history -c" doesn't clear bash history
https://bugs.launchpad.net/bugs/487613
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to