Image cleaner mozilla1/9/2023 The GUI method is the traditional way, but we also learned how deleting the appropriate files via command line can accomplish the same task. In this guide, we saw two different methods for clearing the cache in Mozilla Firefox on Linux. It’s good practice to clear Firefox’s cache every once in a while, just to declutter the hard drive and get rid of old session cookies, etc. To configure your system to clear these files automatically, you could schedule a cron job. Restart Firefox in order for all these changes to take effect. If clearing the cache for a user other than the one to which you’re currently logged in, be sure to specify the home directory as an absolute path, such as /home/linuxconfig/.cache/. The same can be said if you installed Firefox manually into a different location. There is a chance that your system uses a different structure altogether, in which case you’d have to improvise and change the directories as needed. $ rm ~/.mozilla/firefox/*default/*.sqliteĪs you can see, the directory names differ just a little between some popular distros, so we have to change the command accordingly. On CentOS, Fedora, and Red Hat, these commands will work: $ rm ~/.mozilla/firefox/*release/*.sqlite On Ubuntu, Debian, Arch Linux, Manjaro, and any derivatives of those distributions, these commands will work:Ĭlear browsing history (cookies, history, forms): If Firefox was installed by default on your system or installed via your system’s package manager, you can use the following commands to clear Firefox’s cache. sqlite files.ĭepending on your Firefox installation, these directories will be in a predictable place across most Linux systems. There are actually quite a few things you can do with Firefox from the Linux command line.įirefox stores the cache (temporary files such as images) in one directory, and your browsing history (websites visited, form history, etc.) inside another directory as. These same files can be deleted without Firefox, too, such as via the command line. When clearing the cache via Firefox’s GUI menus, all it’s really doing is deleting files from your computer. You can now exit Firefox or resume your browsing activities after you’ve finished clearing the cache and other data if you chose to. Notice also that you can configure Firefox to clear the cache, cookies, and/or web browsing history automatically each time the browser is closed. This area shows how much space the cache is using and gives options to clear or manage it
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |