LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   changing the temp location? (https://www.linuxquestions.org/questions/linux-newbie-8/changing-the-temp-location-199267/)

fred22 06-29-2004 06:36 PM

changing the temp location?
 
Can I redirect my tmp location?

For example instead of say $TEMP=/tmp can I change it to $TEMP=/$HOME/tmp

I know that tmp can e mounted at install. And tmp is a standard directory. But is there a variable that linux will understand that i can use to redirect all my tmp files.

thanks

Fedora Core 1
kernel 2.4.2-2115
Dell m60

adamwenner 06-29-2004 08:24 PM

chtmp command will do it

i also looked here to make each user have their own temp stuff

http://www-uxsup.csx.cam.ac.uk/~pjb1.../tmp-per-user/

fred22 06-30-2004 03:03 AM

thanks dood. Checking it out now.

Your web site did not load in firefox. On fedora core 1

adamwenner 06-30-2004 08:29 AM

i forgot i changed webhosts, thanks for pointing that out, it works now

cseg 06-30-2004 10:15 AM

Re: changing the temp location?
 
Quote:

Originally posted by fred22
But is there a variable that linux will understand that i can use to redirect all my tmp files.
The environmental variable TMP TEMP TMPDIR and TEMPDIR are variously used by many programs to define the directory in which temporary files are strored. Setting all of these will probably catch a large percentage of uses, but may not catch all.


All times are GMT -5. The time now is 01:02 PM.