wsl 的安装指南




down vote accepted

In Ubuntu Userspace for Windows, the Ubuntu file system root directory is at

%localappdata%\Lxss\rootfs

or

C:\Users\Username\AppData\Local\Lxss\rootfs

Replace the Username with your Username on Windows.

enter image description here

Your Windows file system is located at /mnt/c in the Bash shell environment.

enter image description here

Source: dustinkirkland bloghowtogeek

Edit

It seems that there is some variation of Ubuntu file system location on windows due some update as told by NicholasJohn16. I found this article where some variation in Ubuntu file system paths are reported. I am quoting from it,

The Ubuntu system files are stored at:

C:\Users\USERNAME\AppData\Local\Lxss\rootfs
Your Ubuntu user account’s home folder is stored at:

C:\Users\USERNAME\AppData\Local\Lxss\home\USERNAME
The root account’s home folder is stored at:

C:\Users\USERNAME\AppData\Local\Lxss\root

enter image description here

https://askubuntu.com/questions/759880/where-is-the-ubuntu-file-system-root-directory-in-windows-nt-subsystem-and-vice

https://msdn.microsoft.com/en-us/commandline/wsl/about




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值