LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2004, 03:32 PM   #1
jvk
LQ Newbie
 
Registered: Sep 2004
Location: Michigan
Distribution: Fedora 10 (32 and 64-bit)
Posts: 14

Rep: Reputation: 0
/tmp directory question


Can I treat the /tmp directory like temp directories in other OS's and periodically delete everything out of them?

Thanks....
 
Old 10-12-2004, 04:06 PM   #2
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
Unless I've been doing it wrong my whole life, the answer is yes
 
Old 10-12-2004, 05:20 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,578

Rep: Reputation: 191Reputation: 191
The answer is yes but remember to do it at system start of just after it (we don't want to break running programs, right?)
 
Old 10-12-2004, 05:30 PM   #4
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
Also, don't delete the entire directory itself. Since programs need to write to /tmp, if they're unable to find it, you'll have problems running said programs.
 
Old 10-12-2004, 07:40 PM   #5
jvk
LQ Newbie
 
Registered: Sep 2004
Location: Michigan
Distribution: Fedora 10 (32 and 64-bit)
Posts: 14

Original Poster
Rep: Reputation: 0
Thank you..
 
  


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
/tmp directory is full? Moses420ca Linux - Newbie 13 01-21-2005 08:48 PM
tmp directory being deleted jpokrzyk Linux - General 3 10-30-2004 07:42 PM
permissions in /tmp directory linux_pioneer Linux - Software 1 08-30-2003 11:43 PM
/tmp directory Bobmeister Linux - General 3 06-01-2003 05:32 PM
Newbie question - /tmp /var/tmp Mr happy Linux - Security 3 01-27-2003 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration