Index ¦ Archives ¦ Tags ¦ Learning Progress ¦ RSS > Tag: regex

Bash History Cleaner

Estimated read time: 8 minutes

If you ever wanted to automatically clean your Bash history file, here is a working solution written in Python that uses regular expressions to set any kind of pattern you might be looking for.

© Sébastien Lavoie. Built in Python using Pelican v4.5.4. Theme adapted from Giulio Fidente on GitHub.