LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   clear cache remotely [mozilla] (https://www.linuxquestions.org/questions/linux-software-2/clear-cache-remotely-%5Bmozilla%5D-371568/)

dereko 10-10-2005 12:04 PM

clear cache remotely [mozilla]
 
I've a problem with a linux machine (Debian Sarge) and i have ssh access to it. What i want to do is clear the cache of the browser(mozilla).

Also is there a way to edit the mozilla preferences from the command line. I want to set the browser so it doesn't store cache or that it clears the cache every hour/day.

any ideas?

tredegar 10-11-2005 05:00 AM

If you have ssh you can use it to forward X. From a terminal in an X session:

ssh -X user@hostname

Then start mozilla:

mozilla or
mozilla-firefox (depending on your distro).

The remote mozilla will open on your local X display. Depending on your connection, it may be a little slow, but it will work.

Make the changes you want to make to the cache, then exit.

HTH

bathory 10-11-2005 05:56 AM

You can edit pref.js according to this
To clear the cache delete the contents under the cache directory.


All times are GMT -5. The time now is 06:01 PM.