在他的开发机器上安装 Linux 和 Ubuntu 子系统时,我可以简单地切换(或启动)到 Ubuntu shell
但默认情况下,Ubuntu shell 在 /home/techsupp
文件夹中启动。有没有可能强制它在同一个文件夹启动,而不是我使用的 Ubuntu
命令?
所以在我的例子中,我应该在
/mnt/h
谢谢你。
我已经试过了:
H:\>ubuntu help
Launches or configures a linux distribution.
Usage:
<no args>
- Launches the distro's default behavior. By default, this launches your default shell.
run <command line>
- Run the given command line in that distro, using the default configuration.
- Everything after `run ` is passed to the linux LaunchProcess call.
config [setting [value]]
- Configure certain settings for this distro.
- Settings are any of the following (by default)
- `--default-user <username>`: Set the default user for this distro to <username>
clean
- Uninstalls the distro. The appx remains on your machine. This can be
useful for "factory resetting" your instance. This removes the linux
filesystem from the disk, but not the app from your PC, so you don't
need to redownload the entire tar.gz again.
help
- Print this usage message.
我还在 uservoice: https://wpdev.uservoice.com/forums/266908-command-prompt-console-windows-subsystem-for-l/suggestions/13421103-let-us-right-click-open-bash-here-from-explorer?tracking_code=8a8bc624c72a8336565fcd6d5737d712上发现了这个请求
请投票。