PDA

View Full Version : Checking temporary internet files' size



tech291083
14th October 2007, 06:10 PM
Hi,

Is there any way one can know the size of internfiles of broswer history after spending some time say a session on the net in KB/MB/GB? Any particular command for this? I just want to know how much space is being cleared each time I use the delete broswer history button from the Tools menu in Firefox. Thanks

Seve
14th October 2007, 06:22 PM
Hello:
Try
ls -hs /home/username/.mozilla/firefox/whatever.default/Cache
both before and after

Seve

marko
14th October 2007, 06:42 PM
This might be even better since it will add it up for you

du -sh /home/username/.mozilla/firefox/whatever.default/Cache

Mark

tech291083
15th October 2007, 11:54 AM
Hi,

Thans I put root as I am instead of username and what do I need for whatever.default?

Thanks

marko
15th October 2007, 03:12 PM
You can use ls to see what the actual directory name is:

ls -l /root/.mozilla/firefox

firefox makes a unique string of letters to make the directory name
so you just have to look at it.

BTW, running firefox as root user is not a very good idea for security reasons
and other reasons. It would be better to make a normal user and use that
account.
Mark

nick.stumpos
15th October 2007, 03:43 PM
yes dont run as root, a good general rule of thumb, is unless the program requires root privilages, ie you run it and it says it does, and you know and trust the said program, then and only then should it be run as root. also you can set the size of your cache in Edit->prefernces in firefox

tech291083
20th October 2007, 10:00 AM
Thank you all......