Command Prompt / Console / Windows Subsystem for Linux (WSL)

Greetings from the Windows Command-Line Teams, including the Windows Console and Windows Subsystem for Linux (WSL) teams!

We’re hear to learn about the features you’d like to see in the Windows Console (the terminal app itself), Cmd and PowerShell shells, and the Windows Subsystem for Linux (WSL) upon which several Linux distros now run!

Note: Please don’t file bugs & issues here: file issues on our GitHub repos instead:

Please DO post your asks, ideas, wants and needs for future features: We ARE listening, and we ARE grateful for your feedback!

Windows Console & WSL Teams.

$ | >

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Command to convert Windows path to WSL path

    I'd like a command (to use in batch files) to convert a Windows path to a path usable in WSL.

    For example:
    C:\Users\me\Desktop -> /mnt/c/Users/me/Desktop
    "D:\Photos\2018 Holiday" -> /mnt/d/Photos/2018\ Holiday

    Makes it easier to call bash scripts from a Windows batch file with files/directories as parameters.

    6 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Windows Command-Line  ·  Flag idea as inappropriate…  ·  Admin →
  2. Add support for other Linux distros / meta-distributions - part two

    After about year we have some distros in official MS magazine but we already don't have rights to install another Linux distributives.

    I think we need to general methods of porting yourself distros to WSL.
    It's will be easy to another people - the one idea to be popularity.

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  3. printing from WSL.

    I tried installing cups and cups-pdf but could not get it to work. lpadmin keeps giving me error message. Is that possible?
    One workaound is using the shareware software printfil and instead of using lpr for printing, I redirect printed materials to the file that printfil listens to...

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  4. Andoid Distro Support

    I'm very happy about Ubuntu / SUSE / Fedora options for WSL. But isn't Android based on Linux as well? It would be AMAZING to be able to test/run Android apps using WSL, as other Linux apps are able to run GUIs in Windows in the current version.

    35 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    9 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  5. Enable/Install WSL within a Docker Windows container

    Hi everyone,

    I am wanting to enable and install the Windows Subsystem for Linux (WSL) feature from within a Docker windowsservrecore container.
    However, due to the fact that Docker containers are more like full-environment-processes than VMs,
    and because WSL feature installation requires a 'system reboot'; this has proven troublesome.

    I have seen solutions that other people have figured out for installing features that normally 'require reboot' in a Docker windows container:
    - e.g. Active Directory support: https://blogs.msdn.microsoft.com/containerstuff/2017/01/30/create-a-container-with-active-directory-support/
    - e.g. Server Media Foundation: https://www.impostorprogrammer.com/articles/docker/media_foundation_windows_containers.html

    So I was wondering if anyone had any thoughts or has managed something similar for getting WSL…

    5 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  6. Run services when Windows starts?

    In Bash, I can set services to boot on startup with something like this:

    sudo systemctl enable application.service

    However, it would be really handy if certain Bash services started when Windows started. (especially for web servers, database engines etc.)

    I know the way Windows and Linux does services is quite different but as an example, it would be great if I could start Windows and know that my local MongoDB server is all fired up and ready to go.

    Would love to know other peoples thoughts on this and if it's at all feasible?

    Thanks, Anthony
    Twitter: @anthonycook

    291 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    8 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  7. Map WSL process ID to Windows process ID

    Currently there appears no clean way to get the corresponding Windows process ID of a running WSL process. I can inspect the PIDs of running processes in Windows taskmanager or with the tasklist command from bash on WSL as in:

    oeffner@grove:~$ cmd.exe /c tasklist

    But that does not guarantee unambiguous identification PIDs if more processes have the same name.

    It would be great if the PID of a WSL process was available as an additional column for Windows TaskManager and the tasklist command.

    It would also be great if it were possible under WSL to get the corresponding Windows PID…

    52 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  8. implement paste using shift insert key combination

    on linux I press shift-insert then I paste
    on putty on windows I press shift-insert then I paste
    please make wsl bash do the same
    thanks

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  9. Add automount option to exclude files that throw "Permission Denied" caused by "All Deny ReadData"

    # Summary
    When listing files in a mounted Documents directory, `ls` will spam `permission denied` errors on files are set to `All Deny ReadData` by the Windows operating system.

    To prevent the issue, the simpliest approach is to mask/hide these files from mounting, since Linux should not use them anyway.

    # Proposal
    The proposal is to add an automount option to the existing configuration file `/etc/wsl.conf` to enable or disable masking/filtering files if they are defined accesable in the security descriptor.

    New automount option: `only_accessible : boolean`
    If enabled only accessible files are included.

    ```
    # /etc/wsl.conf

    [automount]
    enabled =…

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  10. Can you tell me why Microsoft Corporation keeps shrinking the size of the text

    Can you tell me why Microsoft Corporation keeps shrinking the size of the text

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
  11. rt_sigqueueinfo support

    add support for rt_sigqueueinfo so signals in c code work

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  12. ConHost should support OTF fonts

    More and more fonts are OTF rather than TTF (e.g. nerdfonts.com)

    11 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Console/Terminal  ·  Flag idea as inappropriate…  ·  Admin →
  13. 276 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  14. Mount filesystems permanently from /etc/fstab

    It's great that I can mount file systems or USB devices through drvfs but these mounts don't persists when all Linux shells are closed.
    How does one mount filesystems permanently, say through /etc/fstab ?
    Surely it shouldn't be necessary to manually mount filesystems after the last Linux shell has been closed and a new is invoked.

    63 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  15. Easier way to reinstall WSL distros

    Request: An easier way reinstall distros.
    it was previously possible to do it with lxrun, but now with wslconfig it is more manual

    When experimenting I break my installs a lot and want to get back to a clean start.
    Previously i could run
    lxrun /uninstall /full /y ; lxrun /install
    Which would blow it away, and then put it back on.

    But now according to the docs at https://docs.microsoft.com/en-us/windows/wsl/wsl-config
    You now run
    wslconfig /unregister <DistributionName>
    and then need to go back into the windows store and manually install it again.
    An automated way to do it like we could…

    8 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  16. WSL add ability to scroll up

    In the WSL you should be able to scroll up and see your previous sessions commands/output (much like you can with cmd). Currently you only get what you can see on the screen, forcing you remember to pipe everything to less.

    3 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  17. Support wsl --import gzipped tar file

    wsl --import now supports only plain tar.
    But, WSL Distro in MS Store contains gzipped tar file.
    tar.exe could not extract a tar file from tar.gz.

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  18. Add USB Device Support

    This ask is specifically for adding USB Device support to WSL - i.e. exposing USB busses and devices to the OS.

    This is NOT an ask for adding the ability to communicate with external USB peripherals like phones, IoT boards, etc. - those asks are elsewhere:

    USB Serial communicatons:
    https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/15424383-need-serial-usb-com-port-access

    Mount USB storage devices:
    https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13717092-mount-usb-sd-removable-storage-devices

    1,145 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    135 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  19. Make core dump files available in WSL

    When a process crashes on WSL it does not generate a core dump, even if the necessary configuration is in place.

    This is critical for debugging complex issues during development.

    Referencing this issue: https://github.com/Microsoft/BashOnWindows/issues/1262

    108 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  20. Have dev/shm actually use RAM instead of system drive

    dev/shm appears to be using disk space as creating objects there decreases available space and IO speed is significantly limited.

    15 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Command Prompt / Console / Windows Subsystem for Linux (WSL)

Feedback and Knowledge Base