LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2005, 12:04 PM   #1
dereko
Member
 
Registered: May 2004
Location: Ireland
Distribution: Debian
Posts: 56

Rep: Reputation: 15
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?
 
Old 10-11-2005, 05:00 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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
 
Old 10-11-2005, 05:56 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
clear or disable file cache acristescu Linux - General 3 11-04-2005 10:25 AM
Help! Clear web.cache and log files on server DogByte Linux - Newbie 1 09-20-2005 06:51 PM
How do I clear the memory cache on my linux server? robgo777 Linux - Software 2 01-09-2005 01:30 AM
Help me clear ALL dhcp (client) cache! carboncopy Slackware 4 06-28-2004 08:42 AM
Clear cache raysr Linux - Newbie 2 03-26-2004 01:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration