wsl.rst
changeset 2459 607f6d056e26
parent 2457 9e6abc83e5d6
child 2469 d6eb5318b6ff
equal deleted inserted replaced
2458:28c248a41a85 2459:607f6d056e26
    32 Run Linux command from specific user::
    32 Run Linux command from specific user::
    33 
    33 
    34   wsl -u user ls
    34   wsl -u user ls
    35   wsl --user root ls
    35   wsl --user root ls
    36 
    36 
       
    37 Combining user & distro::
       
    38 
       
    39   wsl -u root -d alpine -- ls
       
    40 
       
    41 https://docs.microsoft.com/en-us/windows/wsl/wsl-config
       
    42   Ways to run WSL.
       
    43 
    37 wslconfig utility
    44 wslconfig utility
    38 =================
    45 =================
    39 
    46 
    40 List distros::
    47 List distros::
    41 
    48 
    57 
    64 
    58 ::
    65 ::
    59 
    66 
    60   sudo mkdir /mnt/f
    67   sudo mkdir /mnt/f
    61   sudo mount -t drvfs f: /mnt/f
    68   sudo mount -t drvfs f: /mnt/f
       
    69 
       
    70 https://docs.microsoft.com/en-us/windows/wsl/wsl-config
       
    71   ``/etc/wsl.conf`` configuration options.
       
    72