Remove Temp Internet Files

Status
Not open for further replies.

nach p

Journeyman
From where shall I remove these Temp Int. File ?
Is it from /Var ?
If its den any particular folder ?

Or any commands :D

Btw I am using RHEL 5.
 

praka123

left this forum longback
what files? most are in /tmp dir and for gecko based browsers,the cache will be ~/.mozilla/ dir.while for konqueror it will be in ~/.kde/ dir.
 

mediator

Technomancer
Identify what u wanna delete like praka dude said and then make a lil shell script of it all => ur own "tune up utilities" ! ;)
 
OP
nach p

nach p

Journeyman
yup as praka said got da temp int files in ~.mozilla/firefox/vi1s46pw.default/cache dir.
thnx u guys for u rreplies.

Btw Tune up utilities never used on windows box also :D
 
OP
nach p

nach p

Journeyman
how to create a shell script ?
If i want to remove files from ~.mozilla/firefox/vi1s46pw.default/cache

#!/bin/bash
rm -rf ~.mozilla/firefox/vi1s46pw.default/cache/*.
is enough or do i have 2 add somthing.

Btw alternatively I can add entry in crontab file !!!!!
 
Last edited:

Hitboxx

Juke Box Hero
Wth?! whats the big deal here? :confused:

Just go to Firefox preferences under Privacy and set it to clear whatever you want everytime Firefox exits or something.
 

amitava82

MMO Addict
^^ Thats what I was about to reply!
Why can't u guys think simple? Its linux does not mean everything has to be complex or shell oriented!
 
OP
nach p

nach p

Journeyman
Hitboxx said:
Wth?! whats the big deal here? :confused:

Just go to Firefox preferences under Privacy and set it to clear whatever you want everytime Firefox exits or something.

I dont want to clear history (urls).I just want to clear cookies and temporary internet files which are downloaded while surfing.
 

FilledVoid

Who stole my Alpaca!
I dont want to clear history (urls).I just want to clear cookies and temporary internet files which are downloaded while surfing.

You do know you can clear what you want in FF right?
 

mediator

Technomancer
nach p said:
how to create a shell script ?
If i want to remove files from ~.mozilla/firefox/vi1s46pw.default/cache
#!/bin/bash
rm -rf ~.mozilla/firefox/vi1s46pw.default/cache/*.
is enough or do i have 2 add somthing.

Btw alternatively I can add entry in crontab file !!!!!
Nope, adding entry for such a thing to cron is a bad idea! Neways, the rm line is erroneous I guess! Its like this

rm -rf ~/.mozilla/firefox/vi1s46pw.default/cache/*.
1. Save the file in ur $HOME/bin, say as "tuneup"
2. Command "chmod +x $HOME/bin/tuneup"
3. Append "$HOME/bin" to ur PATH (~/.bash_profile for fedora , ~/.profile for ubuntu)
4. And then command "tuneup" from terminal!


U can add /tmp folder etc accordingly.
 
Status
Not open for further replies.
Top Bottom