This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how to clear cookies and cache from linux terminal Firefox 60.0.1

  • 1 reply
  • 1 has this problem
  • 3 views
  • Last reply by cor-el

more options

i can't find cache and cookies directory so i can remove using linux terminal i'm running Firefox 60.0.1

rm ~/.mozilla/firefox/*.default/*.sqlite ~/.mozilla/firefox/*default/sessionstore.js rm: cannot remove '/home/karim/.mozilla/firefox/*.default/*.sqlite': No such file or directory rm: cannot remove '/home/karim/.mozilla/firefox/*default/sessionstore.js': No such file or directory

i can't find cache and cookies directory so i can remove using linux terminal i'm running Firefox 60.0.1 rm ~/.mozilla/firefox/*.default/*.sqlite ~/.mozilla/firefox/*default/sessionstore.js rm: cannot remove '/home/karim/.mozilla/firefox/*.default/*.sqlite': No such file or directory rm: cannot remove '/home/karim/.mozilla/firefox/*default/sessionstore.js': No such file or directory

All Replies (1)

more options

What is the name of the current profile folder?

The cookies are stored in cookies.sqlite in the main profile folder. The cache is in a different location as you can see on the about:profiles and about:cache pages.

Firefox uses two locations for the Firefox profile folder. Location used for the main profile that keeps your personal data (Root Directory on about:profiles).

  • ~/.mozilla/firefox/

Location used for the disk cache and other temporary files (Local Directory on about:profiles).

  • ~/.cache/mozilla/firefox/