LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 02: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, 03:06 PM   #2
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

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

Rep: Reputation: 232Reputation: 232Reputation: 232
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, 04:30 PM   #4
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
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, 06: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



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

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

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