Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I do this. I've tried setting this in a script and in the "command" to run at launch in gnome-terminal profile preferences.

Additionally, there is a full set of .bashrc .*rc files in the new $HOME location that I _do_not_ want bash to use as at terminal startup ... maybe this is part of the problem. There may not be way to do this?

share|improve this question
    
first of all: why do you want to change the value of HOME? do you simply want to change the home directory of your user? – Baarn Jan 24 '12 at 15:35
    
I do work on a server with everything nicely setup in /home/user/ but the server is slow so it's would be nice to do some development on the local box as if I was working on the server. Superficially, I thought redefining $HOME might be a good way of doing this ... anyway, it's probably a bad idea altogether. I think bad things can happen redefining HOME since so many processes may depend onit. – mathtick Jan 24 '12 at 22:52
1  
you could move your home directory with usermod -d /new/path -m the -m option ensures that all the content is moved to the new directory. you need superuseraccess to do this change though. and always make a backup of your files before doing such stuff. – Baarn Jan 25 '12 at 3:56

You must log in to answer this question.

Browse other questions tagged .