3

How do I empty the trash though the terminal, and how do I get rid of cookies that have accumulated in the web browsers under linux?

2
  • Is there any special browser or do you really mean every browser so this could be very hard to accomplish as there are a lot of different browsers out there.
    – noggerl
    Commented Dec 1, 2013 at 22:46
  • 1
    For most browsers the answer will be "In the same way as you clear cookies on OS X, windows or any other OS", since it would be browser specific and not OS specific.
    – Hennes
    Commented Dec 1, 2013 at 22:54

3 Answers 3

1

The algorithm for Mozilla Firefox Browser:

  1. cd ~/.mozilla/firefox/asdfas.default/ the name of folder will another and must ends with .default/
  2. sqlite3 cookies.sqlite
  3. DELETE FROM moz_cookies;
0

bleachbit - http://bleachbit.sourceforge.net/ - it's like a CCleaner. Is a good enough.

0

Firefox and Firefox-esr cookies can be deleted by follow:

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

Be carfull. Dont delete wrong files.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .