This is a follow up from this question:
The summary is:
- running ubuntu 14.04
- ssh'ing into it
ssh -X user@hostend up in bash session
- I want to change my home directory from the
/new/home/which already exists
I thought of adding the following line to be executed upon login:
The files that exist in the
/current/home/ I thought might be relevant are:
When I add that command in the
.profile file it works.
I would ideally like it to be in the file that is run first so that everything run after have the correct HOME variable set.
I don't have root access or access through another user on the remote machine.