DIGIT-ARC read-only archive · snapshot: July 23, 2026

Remove Temp Internet Files

15 posts · originally from https://geek.digit.in/community/threads/remove-temp-internet-files.76322/

nach p
nach p Original post #1
Dec 22, 2007 at 1:24 AM
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
Dec 22, 2007 at 3:19 AM
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
Dec 22, 2007 at 3:41 AM
Identify what u wanna delete like praka dude said and then make a lil shell script of it all => ur own "tune up utilities" ! ;)
x3060
x3060 #4
Dec 22, 2007 at 9:55 AM
it would have been nice if someone can make a tuneup thing for Linux :)
QwertyManiac
Dec 22, 2007 at 10:06 AM
You need a full blown software like Tune Up just to delete browser cache? WTH :|
CadCrazy
Dec 22, 2007 at 10:12 AM
x3060 said:
it would have been nice if someone can make a tuneup thing for Linux :)
Dude uninstall windows from your mind
nach p
nach p #7
Dec 22, 2007 at 11:17 AM
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
x3060
x3060 #8
Dec 22, 2007 at 11:26 AM
CadCrazy said:
Dude uninstall windows from your mind
i have put it on dual boot along with mint ;-)
nach p
nach p #9
Dec 22, 2007 at 11:35 AM
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 !!!!!
H
Hitboxx #10
Dec 22, 2007 at 12:18 PM
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
amitava82 #11
Dec 22, 2007 at 12:55 PM
^^ 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!
nach p
nach p #12
Dec 22, 2007 at 2:07 PM
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.
F
FilledVoid #13
Dec 22, 2007 at 2:18 PM
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
mediator #14
Dec 22, 2007 at 2:26 PM
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.
Vivek788
Vivek788 #15
Dec 25, 2007 at 9:49 PM
nice...scripting is for the lazy system admin....like all of us...