Command Prompt / Console / Bash on Ubuntu on Windows

Shrouded in the mists of time, the Windows Console was created. For millenia, geeks and developers wrought their command-line tools but after a while, a great lacking was noticed. And so, legions of ever intrepid command-line mavens migrated to other shells and consoles, ’til but a stalwart few remained.

In Windows 10, with a deep rumbling, the ancient, weary, Windows Console heaved a great sigh and began to tremble. New features appeared, but slow was the (aparrent) progress.

But then, in early 2016, from under a rock evolved a group of new console dev’s. And then a PM. The journey to modernity had begun … again! WE’RE BACK! AGAIN!

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

@RichTurn_ms, Paul, Mike1 & Mike2.

$ | >

(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. Add libusb support to WSL

    Since previous one(https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/16759696-add-usb-device-support) was marked "complete", this one more clearly states support for libusb as in any usb device raw, rather than just storage mounting and serial pass-through.
    My example need is Yubikey gpg-card.

    76 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

      7 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
    • Support iptables

      Originally posted on Github around a year ago: https://github.com/Microsoft/WSL/issues/767

      Not sure how feasible this is to implement, but I've found myself in a couple of situations where it would've come in quite useful.

      26 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  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
      • Open bash in current folder from context menu

        I would love a right-click option in a folder to open the current folder in a WSL distro. right click to open in the folder C:\Users\account would open a terminal in /mnt/C/Users/account

        20 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  ·  Bash/WSL  ·  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.

          77 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  ·  Bash/WSL  ·  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…

            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  ·  Bash/WSL  ·  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.

              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

                0 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
              • /etc/resolv.conf and secondary DNS suffixes

                I wasn't able to find an existing idea for this issue, so I am creating a new one.

                This is really a bug report, but the GitHub issue at https://github.com/Microsoft/BashOnWindows/issues/701 says to provide feedback here, so...

                There are two problems to report.

                One: the /etc/resolv.conf file is autogenerated when a new WSL session starts, but WSL only pulls in the DNS suffix for the primary domain for the "search" line. The result is that by default, only hosts in the primary domain can be resolved using short/unqualified names. If you need to resolve other short/unqualified hostnames in WSL, you have…

                12 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  ·  Bash/WSL  ·  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.…

                  40 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  ·  Bash/WSL  ·  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.

                    12 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  ·  Bash/WSL  ·  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

                      159 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  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                      • Can I explicitly start/stop a Linux subsystem?

                        Hello, I'm a WSL user, sometimes I just start a bash window and bring up services such as MySQL or nginx on that window, but when I close the bash window, the background process(nginx or MySQL services) are gone, I think It's because the bash window is closed.
                        So Is there a way to let the background process running while all Bash windows are closed? Or can this be added as a new feature in the future? Thanks.

                        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

                          2 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                        • Support AF_PACKET address family (tcpdump/wireshark...)

                          From https://github.com/Microsoft/BashOnWindows/issues/1628

                          It would be great to get support for AF_PACKET, as some networking tools or software rely on that.

                          Samples of tool that won't work without it:
                          - tcpdump (socket: Invalid argument)
                          - wireshark
                          - some nmap functions
                          - Scapy

                          719 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

                            117 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                          • 132 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  ·  Bash/WSL  ·  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  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                              • Double click to enter selection mode

                                Now the selection mode starts to work when you just click on a console window. Sometimes you don't want it, and it may cause losing of contents of the clipboard. It is better to use double click for entering this mode.

                                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  ·  Console/Terminal  ·  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

                                  20 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  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                  • ssh-agent not persisting added identities

                                    title stolen from superuser forum, this is a deal breaker as an admin, I need the ssh-agent to "just work" every time I open WSL. right now I have to run commands to add identities every time I reboot or restart bash. I just find myself going back to putty to log into hosts so I don't have to go through the process of | eval $(ssh-agent) -> ssh-add <username>.pem blah blah

                                    6 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  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                    • xterm modifyOtherKeys - ^1 C-1 Ctrl+1 Ctrl+number

                                      Support the xterm "modifyOtherKeys" feature, so that combinations of Ctrl/Alt/Meta can be used with number keys. For example, Ctrl+1, Ctrl+2 ... Ctrl+9.

                                      Currently the terminal only supports Shift+number and Alt+number.

                                      C-1: 1 (i.e. not different form a plain 1 keystroke)
                                      C-2: ^@
                                      C-3: ^[
                                      C-4: ^\
                                      C-5: ^]
                                      C-6: ^^
                                      C-7: ^_
                                      C-8: ^?
                                      C-9: 9 (i.e. plain 9)
                                      C-0: 0 (i.e. plain 0)

                                      If "modifyOtherKeys" is set, then these keys would send:
                                      C-1: ^[[27;5;49~
                                      C-2: ^[[27;5;50~
                                      C-3: ^[[27;5;51~
                                      C-4: ^[[27;5;52~
                                      C-5: ^[[27;5;53~
                                      C-6: ^[[27;5;54~
                                      C-7: ^[[27;5;55~
                                      C-8: ^[[27;5;56~
                                      C-9: ^[[27;5;57~
                                      C-0: ^[[27;5;48~

                                      Similar keystrokes apply for Ctrl+Alt+number and Ctrl+Shift+number,…

                                      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  ·  Console/Terminal  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Add support to go to developmental builds within the Linux builds

                                        Currently we are only able to run the current stable build for say Ubuntu (16.04 LTS). After changing the config file to allow all upgrades available in developmental release after upgrading to FSU, I now am unable to perform the upgrade to 16.10 and higher. I would like to see support to have the ability to upgrade to the latest versions available so that we won't have to download the development build and place it in a VM or Docker container for testing purposes.

                                        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

                                          3 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                        • DrvFS support for "Shared Folders" in Virtual Machines

                                          DrvFS is unable to access the "shared folders" of a host machine when running inside a VM like VMware.

                                          We often use VMs for testing and shared folders are a great way to move data between the host and different VMs.

                                          For details see https://github.com/Microsoft/BashOnWindows/issues/1959 and https://github.com/Microsoft/BashOnWindows/issues/1954

                                          41 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  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 25 26
                                          • Don't see your idea?

                                          Command Prompt / Console / Bash on Ubuntu on Windows

                                          Feedback and Knowledge Base