Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I want to modify the temporary directory location inorder to save the temporary files used by my application from /tmp to /jboss/tmp/vimal/ Can someone help me on how to ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    1

    Modify the temporary directory location

    Hi,

    I want to modify the temporary directory location inorder to save the temporary files used by my application from /tmp to /jboss/tmp/vimal/

    Can someone help me on how to modify the temporary folder location?

  2. #2
    Just Joined!
    Join Date
    Jun 2009
    Posts
    29
    Just make a symlink
    rm -fr /tmp
    ln -fs /jboss/tmp/vimal/ /tmp
    Mind it to backup important files from /tmp directory before running above command.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...