LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-25-2014, 09:58 AM   #1
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Blog Entries: 3

Rep: Reputation: 23
~/tmp folder oversized


I have this tmp folder in the home directory that supposedly stores temporary files. But it has
consumed upto 4 GB of my disk space.

On going inside it, I found that there is a folder kde-kedar that has taken up all the space.
It contains many files with names like dolphinS1143.tmp which are hundreds MB large in size.

I need to free up this disk space. Any idea on what these files are? Can I delete them?

Last edited by kedarp; 02-25-2014 at 10:01 AM.
 
Old 02-25-2014, 10:06 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
well its hard to know what the outcome will be.

on MY system, if I run into a space issue and need to clean up cache/tmp files, I will move them out to somewhere and restart. if everything is ok, i delete them. if not, i move them back.
 
Old 02-25-2014, 01:43 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If they are in /tmp it should be safe to delete them, especially if you go to runlevel 1 (or the equivalent systemd target for your distribution) before doing so.
FWIW, I added this line to the file /etc/rc.d/rc.local_shutdown (may be in a different location on distributions other than Slackware) on all my systems that have /tmp on a disk:
Code:
rm -rf /tmp/*
This way when you shut down or reboot the system /tmp gets automatically cleaned.
 
Old 02-26-2014, 12:43 PM   #4
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
I don't think I can recall any case when deleting a *.tmp file hurt the system.
 
Old 02-26-2014, 01:05 PM   #5
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198

Original Poster
Blog Entries: 3

Rep: Reputation: 23
I just deleted the files, since I had no other option. Cleaned up upto 4 GB of space. But I was wondering
what was the purpose of creating such big files and what created them.
 
Old 02-26-2014, 01:11 PM   #6
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Probably dolphin file manager making index/cache files,. which can get huge quick.

Open one up next time to see what it is. You can use 'strings' to pull out readable characters if you wish.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] tmp folder zacetnik Linux - Newbie 2 11-06-2011 12:13 PM
TMP folder, is everything deletable in there? ginda Linux - Newbie 6 12-16-2006 02:43 PM
/tmp folder bytez Linux - Security 9 10-24-2006 02:10 AM
/var/tmp folder hardeep_ubhi Linux - General 4 10-02-2006 08:10 AM
What is all this junk in the /tmp folder? HoosTrax Linux - Newbie 2 02-10-2004 05:03 PM

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

All times are GMT -5. The time now is 01:13 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