Hello all,
I'm trying to clear my bash history within a script, via "history -c". It doesn't work, so I've preceded it with "set -o history" (to enable the history command within the shell) but this doesn't appear to help.
Any ideas?
Thanks,
Richard.
I'm trying to clear my bash history within a script, via "history -c". It doesn't work, so I've preceded it with "set -o history" (to enable the history command within the shell) but this doesn't appear to help.
Any ideas?
Thanks,
Richard.
Statistics: Posted by riph72-lumi — Thu Feb 19, 2026 1:54 pm — Replies 11 — Views 217