D
D
Denis Verbin2017-04-26 15:45:50
linux
Denis Verbin, 2017-04-26 15:45:50

How to work with Linux subsystem files in Windows 10?

There is a task - to deploy LEMP in Linux on Windows to test the site, while editing the code will be performed by means of the IDE in Windows.
But there are some problems with this bundle, if you change files through the Linux system, Windows immediately sees the changes, but if you delete / create a file in Windows, these changes are not visible in Linux.
Tell us how you use the Linux subsystem in Windows 10, what problems you know about working with the "common" file system and how to live with them.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mi7teR, 2017-04-27
@rez0n

create a directory in Windows, for example, C:\shared folder
from the Linux subsystem, the path to this directory will be like this /mnt/c/shared folder
. All changes in this directory will be visible from the Linux subsystem. Do not touch any files in theC:\Users\username\AppData\Local\lxss .
Place the project in the windows directory, at least on the desktop, anywhere. For nginx, root will look like /mnt/$drive_letter/$path, where $drive_letter is the drive letter, $path is the path to the root directory of the project in unix style, without Windows backslashes and case-sensitive letters in the path.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question