sh 您的Windows系统驱动器出现在Linux中的位置

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 您的Windows系统驱动器出现在Linux中的位置相关的知识,希望对你有一定的参考价值。

The Windows Subsystem for Linux makes your full Windows system drive available so you can work with the same files in both environments. However, the Bash environment doesn’t just dump you in your C:\ drive. Instead, it places you in your UNIX account’s home directory within the Linux environment’s file system.

Your Windows system drive and other connected drives are exposed in the /mnt/ directory there, where other drives are traditionally made available in the Linux directory structure. Specifically, you’ll find the C: drive at the following location in the Bash environment:

/mnt/c

To change to this directory with the cd command, just type:

cd /mnt/c

If you have a D: drive, you’ll find it located at /mnt/d, and so on.

以上是关于sh 您的Windows系统驱动器出现在Linux中的位置的主要内容,如果未能解决你的问题,请参考以下文章

linux写shell注意的问题

linux使用.sh文件启动.jar文件?

Ubuntu修复启动引导

Linux 安装 Nvidia 驱动出现的黑屏各种问题和解决方式

linux下执行sh出现异常"syntax error: unexpected end of file"

sh 在Linux和WSL上安装Go 1.8.3的脚本(适用于Linux的Windows子系统)