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. 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…

    48 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)

      We’ll send you updates on this idea

      3 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
    • Support *BSD operating systems.

      One of the benefits of WSL is that many server environments are Linux systems and the developer can validate many changes locally before deployment.

      Similarly, various *BSD variants (Free-, Open-, etc.) are also frequently used on servers and developers could benefit immensely from having similar functionality.

      This will likely be a larger item than allowing multiple Linux distributions on WSL due to the differences in system call structure.

      74 votes
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)

        We’ll send you updates on this idea

        4 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
      • Making DrvFS fmask=111 usable

        (from https://github.com/Microsoft/WSL/issues/3267)

        At the moment when using a git repo on DrvFS, all new files will be created as +x, which git detects and sets core.filemode=false. Enabling fmask=111 in drvfs options fixes this, but that breaks all .exe interop, since those need the +x bit too.

        As mentioned in the WSL bug, this can be worked around by adding an explicit mount with the options in fstab, but those entries are not auto-mapped when invoking `bash.exe` or `wsl.exe` from windows, meaning either you need to manually mount without fmask any PATH entries and re-write the WSL-side mapped paths, or…

        10 votes
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

          0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
        • 263 votes
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)

            We’ll send you updates on this idea

            3 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
          • 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
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)

              We’ll send you updates on this idea

              1 comment  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
            • 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
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)

                We’ll send you updates on this idea

                0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
              • 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.

                59 votes
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  3 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
                • 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,045 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    127 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
                  • Support Unicode in more, type and other commands

                    When I pipe console.log("hello it’s time"); or simply type it, it gets mangled. This also happens in PowerShell (I presume because it uses the DOS commands

                    1 vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      0 comments  ·  Console/Terminal  ·  Flag idea as inappropriate…  ·  Admin →
                    • ConHost should support OTF fonts

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

                      8 votes
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        0 comments  ·  Console/Terminal  ·  Flag idea as inappropriate…  ·  Admin →
                      • A command to confirm that linux is running on WSL

                        There are many cases where it's useful to programmatically check whether linux is "regular" linux or WSL linus. E.g., in Python calling `sys.platform` just returns `linux`, not `linux-wsl` or something like this. It'd be helpful if there were a command line argument that could reliably confirm that the platform is WSL.

                        5 votes
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          4 comments  ·  Console/Terminal  ·  Flag idea as inappropriate…  ·  Admin →
                        • 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

                          84 votes
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            2 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
                          • 1 vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
                            • Support ctrl+c signals for windows applications launched from WSL/bash

                              In short: Make ctrl+c interrupt / kill windows applications launched from WSL.

                              In long: At the moment windows executables launched from bash / WSL do not terminate when I ctrl+c the process. For example I might launch a compilation step which uses a windows .exe, and then decide to cancel it and modify something first. After ctrl+C the bash terminal thinks the process is stopped and lets me begin typing new commands, but the compilation keeps running and spills output into the terminal. Any file locks etc. will also be held which might block further commands I want to execute.…

                              78 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                2 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
                              • Libsixel support for CMD/Powershell/WSL

                                I would like native libsixel support as the only current way to run it is as per this comment https://github.com/Microsoft/WSL/issues/1099#issuecomment-248513013. If possible, this support would be for for all terminals. This would prove extremely useful in performing quick research without having to leave the terminal.

                                16 votes
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  2 comments  ·  Console/Terminal  ·  Flag idea as inappropriate…  ·  Admin →
                                • Kernel thread creation is not working in WSL

                                  Yesterday I was in my operative system class, and we were studyng about user and kernel thread creation.

                                  The user thread example ran well, using the pthread library in C. But when I ran the kernel thread example, it failed and I couldn't create the thread. For that example we used the macro clone in library sched.h

                                  I'd be good if WSL could support that type of thread creation.

                                  3 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
                                  • 4 votes
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Allow to set file permissions on NTFS partitions from WSL

                                      Allow commands like chmod to set file permissions on NTFS partitions. Currently WSL supports a limited one way permission mapping from Windows ACL's to POSIX permissions but it needs to be 2-way. Many basic tasks like using ssh keys or working with git repos require being able to set file permissions. It doesn't even matter that much to which exactly windows ACL certain permissions map as long as they are consistent (e.g. setting perms with chmod and then getting them with stat should result in exact same perms).

                                      This is a followup to this closed issue: https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13309479-emulate-posix-compliant-filesystem-permissions

                                      45 votes
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        6 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Support for IDEA exposure for the Linux dev tools like git and mvn, make etc

                                        While the WSL is a great tool and is powerfull, there is a realy big gap were having now. I need to redudntly install stuff if I use an IDEA (like intellij or eclipse). To expose git to these tools. I can try to be creative with bat scripts to expose some of the bash native git. But then there is achance to get a "Cannot launch bash because another instance is running un-elevated. Elevated and un-elevated instances are not permitted to run simultaneously." response (and break your bat script).

                                        What I would love to see a way to be…

                                        29 votes
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          3 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Support kernel namespaces and cgroups (for Docker, headless Chrome, ...)

                                          Kernel namespaces are a Linux feature that enables sandboxing (used in things like headless browsers) and containerization (i.e. Docker).

                                          It would be great if WSL supported those scenarios.

                                          46 votes
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

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

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

                                          Feedback and Knowledge Base