Skip to content

Instantly share code, notes, and snippets.

@TeroKeso
Last active February 21, 2023 06:00
Show Gist options
  • Save TeroKeso/452593340bdf21824efa591d31fbacae to your computer and use it in GitHub Desktop.
Save TeroKeso/452593340bdf21824efa591d31fbacae to your computer and use it in GitHub Desktop.
WSL commands and settings

wsl.conf

tee -a /etc/wsl.conf <<EOF
[user]
default=student
EOF

Powershell commands

<DistributionName> config --default-user <Username>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment