How To Clear Web Browser Cache From Commandline In Linux

4 Responses

  1. Himanshu chandel says:

    I want to clear my cache and cookies excluding password

  2. sk says:

    As mentioned in the guide, the following command will only delete the cookies, not saved passwords.

    rm ~/.mozilla/firefox/*.default/cookies.sqlite

  3. Hu He says:

    How old are these instructions? I’m in Linux Mint 19.3 with the latest everything. And for my troubles I get:
    m: cannot remove ‘/home/hu-he/.mozilla/firefox/*.default/*.sqlite’: No such file or directory

    • sk says:

      Yeah, the instructions are outdated. It worked in Ubuntu 16.04. I will check them with latest Linux distributions and update the guide soon.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.