LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-29-2004, 06:36 PM   #1
fred22
Member
 
Registered: Apr 2004
Posts: 42

Rep: Reputation: 15
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
 
Old 06-29-2004, 08:24 PM   #2
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
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/
 
Old 06-30-2004, 03:03 AM   #3
fred22
Member
 
Registered: Apr 2004
Posts: 42

Original Poster
Rep: Reputation: 15
thanks dood. Checking it out now.

Your web site did not load in firefox. On fedora core 1
 
Old 06-30-2004, 08:29 AM   #4
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
i forgot i changed webhosts, thanks for pointing that out, it works now
 
Old 06-30-2004, 10:15 AM   #5
cseg
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
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.
 
  


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
Changing location of /etc/fstab? Aeiri Linux - Software 1 11-23-2004 04:36 PM
Changing default Mozilla location compassman Linux - Software 2 06-26-2004 03:44 PM
Changing physical location of directories Linus VanPelt Mandriva 2 02-23-2004 07:42 AM
changing default mount location MeanJoshGreen Linux - Hardware 3 12-07-2003 02:19 AM
Changing boot location podollb Linux - Hardware 8 10-15-2003 02:48 AM


All times are GMT -5. The time now is 12:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration