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?
-
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.– noggerlCommented Dec 1, 2013 at 22:46
-
1For 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.– HennesCommented Dec 1, 2013 at 22:54
Add a comment
|
3 Answers
The algorithm for Mozilla Firefox Browser:
cd ~/.mozilla/firefox/asdfas.default/
the name of folder will another and must ends with .default/sqlite3 cookies.sqlite
DELETE FROM moz_cookies;
bleachbit - http://bleachbit.sourceforge.net/ - it's like a CCleaner. Is a good enough.
Firefox and Firefox-esr cookies can be deleted by follow:
rm /home/*/.mozilla/firefox/*.default*/cookies.sqlite
Be carfull. Dont delete wrong files.