35

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. On my Windows filesystem, that is not a valid path, so where is /home/mobaxterm really located on my Windows filesystem?

4 Answers 4

44

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

open /home/mobaxterm
3
  • 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. May 20, 2015 at 13:35
  • 2
    Also: open "$HOME"
    – bishop
    Oct 18, 2017 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 Apr 30, 2019 at 7:41
16

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.

13

You can always use

open `pwd`

to open current working directory in Windows Explorer !

0
4

The simplest way is probably:

open ~

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .