24

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?

29

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

open /home/mobaxterm
  • 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 May 20 '15 at 13:35
  • 1
    Also: open "$HOME" – bishop Oct 18 '17 at 13:59
  • 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 Apr 30 '19 at 7:41
13

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.

10

You can always use

open `pwd`

to open current working directory in Windows Explorer !

0

The simplest way is probably:

open ~

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.