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. wslpath should return \\wsl$ path

    Currently wslpath rejects path inside VolFs.

    2 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 →
    • Recursive file case sensitivity?

      Can we get folder recursive case sensitivity? You've very recently added it with:
      fsutil.exe file SetCaseSensitiveInfo C:\folder\path enable
      what do we have to do to get full directory case sensitivity?

      It's really confusing as to why this isn't implemented yet when NTFS has supported it forever and windows 10 has no more kernel excuse...

      Is something like this necessary?

      [string] $PathRoot = 'folder here'

      [bool] $EnableCaseSensitivity = $true

      @(Get-ChildItem -Path $PathRoot -Recurse -Directory | Select-Object -ExpandProperty 'FullName') | ForEach-Object {
      cmd /c ('fsutil.exe file SetCaseSensitiveInfo "{0}" {1}' -f ($_,$(if($EnableCaseSensitivity){'enable'}else{'disable'})))
      }

      19 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 →
      • support for ethtool

        When you run ethtool it replies with "Invalid argument"

        Exact command example: sudo ethtool -T eth0
        Example Output: Cannot get device time stamping settings: Invalid argument.

        This would be useful for testing timing applications e.g. LinuxPTP as a grandmaster to be used with the new W10 Client PTP support.

        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 →
        • i386 support

          Currently it does not seem to be possible to execute 32-bit Linux ELF binaries in WSL environment. Generally this is not a big deal if the source of the program is available in a way or another, however, there is quite a lot of 32-bit proprietary tools that are distributed in binary-only form, and currently those are unusable within WSL.

          2 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 →
          • 71 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 →
            • UWP

              My first UWP application , this is awesome example , hello world voice amazing , thank you for all

              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  ·  Other  ·  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…

                13 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 →
                • 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 →
                  • Raw Disk access and filesystem mounting

                    I would love to have the ability to access raw partitions on my hard drive (provided that WSL is stable and will not obliterate my data) and also have the ability to mount filesystems not natively supported under Windows such as ext4, and btrfs among others. Specifically, I want to be able to mount partitions on my hard drive that I have windows installed on.

                    179 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 →
                    • 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
                      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 →
                      • 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
                        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 *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.

                          81 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

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

                            51 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 →
                            • 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

                              283 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

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

                                  I installed WSL on our 2016 Server. But other users get the message" Windows Subsystem for Linux has no installed distributions.
                                  Distributions can be installed by visiting the Microsoft Store:
                                  https://aka.ms/wslstore"
                                  How do I make BASH available to other users on the server?

                                  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 →
                                  • 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
                                    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 →
                                    • 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.

                                      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

                                        2 comments  ·  Windows Command-Line  ·  Flag idea as inappropriate…  ·  Admin →
                                      • 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
                                        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  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                                        • rt_sigqueueinfo support

                                          add support for rt_sigqueueinfo so signals in c code work

                                          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 →
                                          • Don't see your idea?

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

                                          Feedback and Knowledge Base