如何在 Windows 或 Ubuntu 里互相访问两边的文件呢?
这里我使用的是WSL2来运行Linux环境,如果对WSL不了解的小伙伴,可以查看下面来源于WSL2: Developer's Guide to Windows Subsystem for Linux 2 - SitePoint的一段解释:
The Windows Subsystem for Linux (WSL) lets developers run a Linux environment directly on Windows 10. It’s an unmodified OS, but highly integrated into Windows and without the overhead of a virtual machine.
WSL1 was groundbreaking and translated Linux system calls to Windows equivalents. This could be slow and several features weren’t available. WSL2 uses Hyper-V virtual machine technology so Linux compatibility is excellent and file access is up to 20x faster than before.
此外,还推荐这篇博文来增加对OS的理解: