Difference between revisions of "Wsl"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | https://gist.github.com/ScriptAutomate/f94cd44dacd0f420fae65414e717212d?permalink_comment_id=3627426 | ||
+ | |||
+ | |||
``` | ``` | ||
wsl -d ubuntu-20.04 -u myuser -- bash | wsl -d ubuntu-20.04 -u myuser -- bash |
Revision as of 12:22, 18 January 2023
https://gist.github.com/ScriptAutomate/f94cd44dacd0f420fae65414e717212d?permalink_comment_id=3627426
wsl -d ubuntu-20.04 -u myuser -- bash wsl -d ubuntu-20.04 -- bash
/etc/wsl.conf
[user] default=myuser [automount] options = "metadata"
restart wsl
wsl --shutdown
- https://stackoverflow.com/questions/46610256/chmod-wsl-bash-doesnt-work
- https://superuser.com/questions/1337153/change-home-of-wsl-to-mnt-c-users-yourwindowsuser
https://devblogs.microsoft.com/commandline/sharing-ssh-keys-between-windows-and-wsl-2/