HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to redirect elm work directory to other than /...
Operating System - HP-UX
1830071
Members
25166
Online
109998
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 07:40 AM
01-06-2006 07:40 AM
Hi,
Can anyone tell me how to change the working directory that 'elm' uses to something other than /tmp?
A failed script created a message that is over 9 Million lines long. I am trying to delete it, but when I delete and exit elm, it must use /tmp as a scratch area, and it runs out of space.
I would like to redirect elm to a different directory that has more room in it.
Thanks,
Randy
Can anyone tell me how to change the working directory that 'elm' uses to something other than /tmp?
A failed script created a message that is over 9 Million lines long. I am trying to delete it, but when I delete and exit elm, it must use /tmp as a scratch area, and it runs out of space.
I would like to redirect elm to a different directory that has more room in it.
Thanks,
Randy
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 07:48 AM
01-06-2006 07:48 AM
Solution
You have several options. In the .elmrc file you can specify a tmpdir. The easist method is to set and export TMPDIR. Only if no tmpdir entry is found in the .elmrc file and the TMPDIR environment variable is not defined does elm then use the default temp directory /tmp. A simple man elm would have told you this.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 07:49 AM
01-06-2006 07:49 AM
Re: How to redirect elm work directory to other than /tmp?
Hi Randy:
'elm has a configuration file -- '$HOME/.elm/elmrc'. You can specify a 'tmpdir' parameter there. If not specified, the default is the value of the 'TMPDIR' environment variable, if set and nonnull, or '/tmp/' otherwise.
Hence, you have several choices and places to control the placement of temporary 'elm' files.
See the 'elm' manpages for more information.
Regards!
...JRF...
'elm has a configuration file -- '$HOME/.elm/elmrc'. You can specify a 'tmpdir' parameter there. If not specified, the default is the value of the 'TMPDIR' environment variable, if set and nonnull, or '/tmp/' otherwise.
Hence, you have several choices and places to control the placement of temporary 'elm' files.
See the 'elm' manpages for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2006 11:43 PM
01-08-2006 11:43 PM
Re: How to redirect elm work directory to other than /tmp?
Since this is a temporaray situation, I did a TMPDIR=/u07; export TMPDIR to redirect the work area to a directory with more free space.
Thanks for the help.
Randy
Thanks for the help.
Randy
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP