Do you need to clear bash history under #[0], #[1], #[2] or #[3]? Try

`history -c && history -w`

See all other options https://www.cyberciti.biz/faq/clear-the-shell-history-in-ubuntu-linux/

Reply to this note

Please Login to reply.

Discussion

No replies yet.