Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-17-2001, 09:47 AM   #1
Registered: Dec 2000
Posts: 60

Rep: Reputation: 15

Does anyone know how to empty the tmp folder? I do not believe my system is doing it automatically.
Old 04-17-2001, 05:38 PM   #2
Senior Member
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 45

I didn't think that the /tmp folder was emptied regularly, unless you have set it to from some certain distro, or have created a script to do it.

Unless you delete every file by hand I don't know of any other way.
Old 04-18-2001, 08:38 AM   #3
Registered: Mar 2001
Location: Atlanta,GA
Distribution: Red Hat, Mandrake
Posts: 66

Rep: Reputation: 15
rm -rf /tmp/*
rm -rf /tmp/.*
Old 04-18-2001, 09:33 AM   #4
Registered: Dec 2000
Posts: 60

Original Poster
Rep: Reputation: 15
I was curious to know whether linux /tmp folder items work similar to (gasp) Windows, meaning that everything in there could be deleted as long as it does not have a current day date stamp on it.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 03:09 PM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 06:23 PM
Cant add folder into my shared folder? amer_58 Linux - Newbie 2 04-03-2005 12:35 PM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 03:26 AM
gnome home folder and trash folder ambelos Linux - Software 2 02-24-2004 07:44 AM

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration