Where does MobaXterm keep its home directory?

17

5

I have found MobaXterm to be a very useful terminal client, but I really want to be able to move files into and out of the home directory /home/mobaxterm. Where is that located?

Christopher Bottoms

Posted 2015-04-17T13:17:09.093

Reputation: 1 309

Answers

19

You can see where the home directory is stored (and open it in Windows explorer) by using the following command:

open /home/mobaxterm

Didier

Posted 2015-04-17T13:17:09.093

Reputation: 789

Thanks! Your answer solved my problem. Later I noticed that there was an option for setting a Persistent home directory as noted in my answer below. If you didn't know about it, I thought you might be interested. – Christopher Bottoms – 2015-05-20T13:35:50.553

Also: open "$HOME" – bishop – 2017-10-18T13:59:08.823

For mine the above will open the wrong directory for some reason, for those who are like me, and if you didn't modified the config. The location of home will be here: C:\Users\{USERNAME}\DOCUME~1\MOBAXT~1\home – Ng Sek Long – 2019-04-30T07:41:58.500

9

You can always use

open `pwd`

to open current working directory in Windows Explorer !

Younes Regaieg

Posted 2015-04-17T13:17:09.093

Reputation: 283

9

Go to Settings->Configuration->General and set the Persistent home directory to the folder of your choice. Then you will obviously know where it is.

However, if you have not done this before and you already have files in that directory and want to copy them out, try looking in C:\Users\your_username_here\AppData\Local\Temp\Mxt73\tmp\home_your_username_here. (assuming version 7.3, you might want to try Mxt7N for other versions like 7.N). After you've copied your files, then set a persistent directory so that next time it will be easier to find.

Christopher Bottoms

Posted 2015-04-17T13:17:09.093

Reputation: 1 309