Author Topic: how do you delete temp files  (Read 2004 times)

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 753
  • Oh I get it now. Windows 8 is a Bigger Sham
how do you delete temp files
« on: March 07, 2010, 09:15:04 AM »
Hello everyone

I have a question I was going through my hard just checking on the amount of space i have left you know spring cleaning LOL

now my partition is as follows:

/home  81 G
/root     80 G
/swap   35 G

when I search a couple of possibles came up

/var or the /tmp 

The /var folder contained 26 G while the temp folder had 6.7 Mb just wondering can I safely delete the contents in this folder or is there another way to clean temp files
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline T6

  • Super Villain
  • ******
  • Posts: 19051
  • xmas is comming!
Re: how do you delete temp files
« Reply #1 on: March 07, 2010, 09:54:59 AM »
your swap partition is 35 gigabytes?

35?!?!

what you do with 35 gbs in swap that you can't with 1?!

the tmp, it is better not to delete it when the system is running and some apps will not like that you delete it, there is a couple of posts mentioning this topic and some suggestions to follow but in general, if it is not more than 100mbs, why bother deleting it when you will require to reinstall pc with pclinux 2010 in a couple of months
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 753
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: how do you delete temp files
« Reply #2 on: March 07, 2010, 10:28:06 AM »
hello


Ok then temp is fine with 6.7 Mb but i wanted to know if i could delete /var folder's contents

 
your swap partition is 35 gigabytes?

35?!?!

what you do with 35 gbs in swap that you can't with 1?!

what can i say I wanted to make sure swap never ran out of room lol
 
but really I didn't know better at the time so the next time im giving more room to home

« Last Edit: March 07, 2010, 02:19:54 PM by GOTHBITES »
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5383
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: how do you delete temp files
« Reply #3 on: March 07, 2010, 05:04:23 PM »
hello


Ok then temp is fine with 6.7 Mb but i wanted to know if i could delete /var folder's contents

 
your swap partition is 35 gigabytes?

35?!?!

what you do with 35 gbs in swap that you can't with 1?!

what can i say I wanted to make sure swap never ran out of room lol
 
but really I didn't know better at the time so the next time im giving more room to home



If you do empty the var directory files & folders you are going to be in for trouble.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 753
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: how do you delete temp files
« Reply #4 on: March 07, 2010, 08:09:20 PM »
Ok then temp is fine with 6.7 Mb but i wanted to know if i could delete /var folder's contents


If you do empty the var directory files & folders you are going to be in for trouble.

thats what i wanted to know


thank you
« Last Edit: March 09, 2010, 03:20:28 PM by old-polack »
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline denoobifyme

  • Sr. Member
  • ****
  • Posts: 421
Re: how do you delete temp files
« Reply #5 on: March 09, 2010, 09:16:37 AM »
Also, if you go to PCC>Boot>Setup Boot System>Advanced, you can check the box that says Clean Tmp Files at Boot. It'll manage your Tmp size without conflicting with running programs.

You can also check this box when installing PCLOS.
Fair warning: I am a whiny, selfish brat who should be denied access to 2010, per a moderator. Box: Acer Aspire One 110-xxxx model. XP wiped (and flushed), 2010 gnome (despite mod) grafted onto 8g flash HD via livecd.

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1904
  • MLU and BLU (Bacon lovin' user)
Re: how do you delete temp files
« Reply #6 on: March 09, 2010, 09:42:37 AM »
But be aware that when you check "Clean Tmp Files at Boot" this implies that your tmp will be in memory, not using that tmp folder on the HD! Check your /etc/fstab file ("none...tmpfs"). Therefore your tmp is automatically emptied when you shutdown.

See this thread:
http://www.pclinuxos.com/forum/index.php/topic,62079.msg504586.html#msg504586
or here:
http://www.pclinuxos.com/forum/index.php/topic,61058.msg492352.html#msg492352

Torsten
What country can preserve its liberties if its rulers are not warned from time to time that their people preserve the spirit of resistance?
Thomas Jefferson

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6266
Re: how do you delete temp files
« Reply #7 on: March 09, 2010, 11:08:01 AM »

Ok then temp is fine with 6.7 Mb but i wanted to know if i could delete /var folder's contents



If you do empty the var directory files & folders you are going to be in for trouble.


thats what i wanted to know


thank you

what kind of trouble?
go into the folder and check what folder uses most space. System logs go in /var/log. The contents of this folder can be safely deleted and it can get pretty big if somebody is log happy and log each and everything

open up the terminal and type the following command and enter root's password when asked

su -c "du -sch /var/*"

what did the command give you?
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 753
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: how do you delete temp files
« Reply #8 on: March 09, 2010, 11:16:18 AM »

Ok then temp is fine with 6.7 Mb but i wanted to know if i could delete /var folder's contents



If you do empty the var directory files & folders you are going to be in for trouble.


thats what i wanted to know


thank you

what kind of trouble?
go into the folder and check what folder uses most space. System logs go in /var/log. The contents of this folder can be safely deleted and it can get pretty big if somebody is log happy and log each and everything

open up the terminal and type the following command and enter root's password when asked

su -c "du -sch /var/*"

what did the command give you?

the folder that gave me the was /var/lib 26.5   

right now im running things from a live CD .. 
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6266
Re: how do you delete temp files
« Reply #9 on: March 09, 2010, 11:44:50 AM »

i do not see why the folder will get that big. You can run filelight or any other tool that shows disk usage on the folder and see where the space is going to.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 753
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: how do you delete temp files
« Reply #10 on: March 09, 2010, 12:26:55 PM »

i do not see why the folder will get that big. You can run filelight or any other tool that shows disk usage on the folder and see where the space is going to.


thats a very nice App you have there it shows alot of info just trying to understand what it means

Holy moley its my /var/lib/drakbackup

/var/lib/drakbackup 26,794 MB

var/                            27,162 MB

var/lib/                        27,049 MB

wow if i have back up then how come it doesn't work lol

wow i may not have to reinstall after all lol

thank  you muungwana

edit# had to include the info provided  by firelite
« Last Edit: March 09, 2010, 12:32:36 PM by GOTHBITES »
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6266
Re: how do you delete temp files
« Reply #11 on: March 09, 2010, 12:41:01 PM »

backing up is more effective when the backed up files are on a separate drive, preferably out of the computer that has the original files.

u should have a little talk with that backing utility  :D ..its looks like its being lying to you for a while now .. 26GB!!! mhh..

.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 753
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: how do you delete temp files
« Reply #12 on: March 09, 2010, 01:07:44 PM »

u should have a little talk with that backing utility  :D ..its looks like its being lying to you for a while now .. 26GB!!! mhh..

talk yeah thats it Hmm yeah and a ball bat will be included in the discussion lol

unfortunately the other issue is included no PCC and drak is also not operational

so besides dupe clean what other programs should i install for a stable OS

any help or link would be appreciated
 
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6266
Re: how do you delete temp files
« Reply #13 on: March 09, 2010, 02:09:06 PM »

unfortunately the other issue is included no PCC and drak is also not operational

so besides dupe clean what other programs should i install for a stable OS

any help or link would be appreciated
 

i have no idea what you are talking about here
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 753
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: how do you delete temp files
« Reply #14 on: March 09, 2010, 04:17:07 PM »

unfortunately the other issue is included no PCC and drak is also not operational

so besides dupe clean what other programs should i install for a stable OS

any help or link would be appreciated
 

i have no idea what you are talking about here

oh i was looking for the thread that where X crash and Texstar mention dupeclean and a few others apps one should have installed like the firelite app you mentioned

I do apologies for the confusion
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong