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

    944 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

      82 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →

      Thanks for your feedback on this. There are two other related UserVoice asks:

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

      mounting / accessing network drives (https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13600230-mount-nfs-sshfs-samba-smb-network-drives).

      Please be sure to apply your votes to the correct ask :)

    • OpenCL & CUDA GPU support

      It would be nice to have (relatively) easy access to the dedicated GPU's on our Win10 PC's, and OpenCL support for the AMD Drivers & CUDA for NVidia drivers etc.

      What I am thinking on specifically (although there are many many uses for it and CUDA support) is hashing functions that are lackluster within windows itself, but benefit immensely within Linux and Unix.

      Cryptocurrency mining for example, is known to be much faster on Linux systems than Windows. Do you see any support for OpenCL and/or CUDA in the future?

      1,193 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

        111 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →

        It’s on the backlog, but not currently planned.

        We know many of you would like to be able to accelerate your numerical analysis code via CUDA/OpenCL, etc.

        One thing to explore in the meantime is to try running your code in Windows. Windows actually has very powerful GPU-acceleration capabilities and you may well find that much of your existing code may well work already or require trivial effort to port to Windows itself.

        in the meantime, bear with us, and UPVOTE THIS ISSUE if you care (please don’t create another duplicate ask – that doesn’t help us prioritize asks).

        Thanks.

      • 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

        69 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 →
        • Support Windows Subsystem for Linux on Windows Server

          The newest windows 2016 is awesome. The Bash/WSL subsystem would make such an amazing addition to the functionality of the server version.

          24 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 →

            We’ve still got some work to do before we can get WSL up to a server-grade feature, but are interested in your scenarios & justifications for doing this to help us understand and prioritize our efforts most effectively.

            Please share some real-world examples/justifications as to why you’d like WSL on Windows Server.

            Thanks.

          • LXC (cgroups?) support

            Linux Kernel provides a way of grouping processes into isolated environments. This is the basis of LXC and Docker. Adding these primitives to the WSL Kernel would help with building applications and packages in a clean environment (see: snapcraft cleanbuild, which uses LXD: https://snapcraft.io/docs/reference/snapcraft-command#cleanbuild) without cluttering our main Ubuntu installation with packages that are not needed for general use, but are needed to build a single package that one time (at band camp).

            15 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 for accessing Linux partitions

              Dear Microsoft,
              As someone who uses Ubuntu as my main OS for school and software development, If WSL allowed me to access the ext4 partition on my hard drive where Ubuntu is installed and set up some kind of a chroot -- so that it would be like having a window into my other OS -- I would no longer have a good reason NOT to switch over to Windows 10 as my main OS.

              22 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 →
              • Run Command Prompt commands from Bash on Ubuntu on Windows 10

                Allow users to do a Command Prompt command from within Bash on Ubuntu on Windows 10.

                9 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 →
                • Unify Branding

                  Right now, the branding for this feature is kind of all over the place:

                  - Windows Subsystem for Linux
                  - Bash on Windows
                  - Bash on Ubuntu on Windows

                  I realize that WSL is probably, strictly speaking, a separate feature/team (I'm guessing), from BoUoW; and that BoW is probably the same thing as BoUoW, just shorter ... however, the fact that they are all used interchangeably in official blog posts and documentation can be quite confusing when a) searching for information, and b) when communicating about the feature to others.

                  I'm sure there are reasons for this, including internal team…

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

                    We agree; our branding is not simple, but it’s worth noting that neither is our situation:

                    WSL is the name of the Windows Kernel infrastructure that installs, loads, executes, and manages ELF64 binaries. It’s important to note that it’s a key goal that WSL remain distro-agnostic.

                    Note that, until you run Bash.exe (part of WSL) for the first time and download and install Ubuntu, there IS NO Ubuntu anywhere on your system!

                    Now, referring to the user-mode tools delivered as a packaged distribution as WSL would also be inaccurate and misleading. This is why, when we’re talking about the user-facing experience – the thing that you actually interact with – we call THAT thing Bash on Windows … because we went through every other permutation and idea and couldn’t come up with anything as recognizable, comprehensible, or “short”, even though I think it’s still too long!

                    Typically, when referring…

                  • Support software debugging tools

                    WSL supports a growing range of compilers and interpreters, allowing the development of software in a variety of languages. However, the current support presumes that developers' code works the first time it is run. In practice, debugging code is also an important part of the process.

                    Right now, WSL has very good support for "strace". "strace" is useful, but, unless you are doing near-to-the-kernel development, it is far from the only, or even the most powerful or useful, tool available on a native Linux platform.

                    The following are examples of common Linux debugging tools that don't currently work under WSL:

                    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

                      2 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                    • Support mknod /dev/net /tun in WSL

                      Support mknod /dev/net /tun in WSL:
                      github.com/Microsoft/BashOnWindows/issues/874

                      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

                        1 comment  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                      • Document public API of lxcore.sys, add support in WDK

                        As described here:
                        https://github.com/Microsoft/BashOnWindows/issues/1470

                        (
                        I'm working on this side project:
                        https://github.com/kpocza/LoWe

                        It's using ptrace to intercept and modify syscalls to emulate some devices that are required to run X server, video playback with sound (ALSA), etc. I can run GUI apps without a third party X server.

                        However according to this:
                        https://github.com/ionescu007/lxss/tree/master/lxdrv
                        it's possible to create custom /dev-s. This guy reverse engineered a lot of stuff.

                        My project would behave much better if I could implement the functionality of the devices like /dev/fb0, /dev/input/mice, /dev/snd/pcm*, etc. in kernel mode.
                        It would be almost impossible to reliably reverse engineer lxcore.sys…

                        24 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 →
                        • Blue color is too dark

                          Hello Microsoft,

                          Thank you for Bash.
                          But here is the problem,
                          Try this:

                          $ cd ~
                          $ vi .bashrc

                          Now tell me if you can read the comments.

                          You guys have awesome color schemes on Visual Studio Code,
                          Why does the command prompt looks like it came out of 1985?
                          Please use a brighter text color pallet.

                          Cheers,
                          Carlos.

                          54 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  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                          • Add camera support

                            It would be great if the bash can connect to the cameras on the PC/laptop. I was trying to use ARtoolkit but it wouldn't run on bash because the camera is not connected to the bash.

                            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

                              0 comments  ·  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

                                2 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                              • ROS Support (The Robot Operating System)

                                Extend the WSL socket implementation such that ROS can run on WSL.

                                Who needs this?
                                There is a huge community around ROS which is torn between windows and linux manily due to device drivers which are only available/fully functional on windows (I am looking at you Kinect) while ROS itself (in its current version) is linux only. There exist several ports of ROS to Cygwin which are painfully slow due to the very nature of Cygwin. Making ROS available on WSL would significantly simplify the lifes of many robot enthusiasts.
                                Moreover, there is quite some commerical interest in ROS. Making…

                                27 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 →
                                • Access symbolic links (created by WSL) in Windows

                                  Create a symbolic link (ln -s target_file link_name) in WSL. The sym link works correctly with WSL. While the link is visible in Windows Explorer, attempts to follow (or delete) the link in Windows result in an error that the file is not accessible by the system. Is this by design?

                                  28 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 →
                                  • Add Wireless Device Support

                                    iwconfig and other wireless device tools cannot interact with wireless devices. While ifconfig, ip, etc network support has been added and displays the wireless devices (wifi0, wifi1, ...), iwconfig and other tools cannot detect wireless support. Considering the omnipresence of wifi, this makes the "Enable network connection enumeration" request feel technically fulfilled but practically half-done. Can we expect wifi support in the near future? Or are there work arounds involving the installation or compilation of particular tools?

                                    17 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 →
                                    • Need serial-USB/COM-port access

                                      Please add access to serial port devices (/dev/ttyUSB#, etc.)
                                      It might not be glamorous, but for interfacing with IoT projects, serial terminals, and other ancient hardware it is very, very useful.

                                      Thank you!

                                      187 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

                                        15 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →

                                        Thanks for all your asks & comments related to the addition of USB devices & comms.

                                        This is a scenario we do want to get to at some point, but it does require an amount of engineering that was beyond our available (time x resources) for Creator’s Update.

                                        We’ll review and reassess for a future OS release.

                                      • Kerberos, automatic user

                                        I want the WSL to automatically make a unix user for my windows user, (kerberos) and I want it to automatically log me in as that user unless I specify otherwise.

                                        I want my WSL home directory to be my Windows user home directory (just like cygwin, mingw)

                                        So I can share my ~/.ssh/config and ~/.vimrc etc

                                        I just don't want to be exposed to the idea that "WSL has separate users" unless I want to be.

                                        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

                                          1 comment  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Host an apt repository specifically for WSL packages, configured by default in WSL sources.list

                                          I'm pretty sure I'm not the only person with or soon to have a Linux-side package that is specific to the WSL environment.

                                          It would be useful if Microsoft supported an apt repository that these packages could be submitted to (since obviously they should not be in the standard Ubuntu repositories) which would be included in the default /etc/apt/sources.list, to ease finding and installing these under WSL.

                                          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

                                            2 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 20 21
                                          • Don't see your idea?

                                          Command Prompt / Console / Bash on Ubuntu on Windows

                                          Feedback and Knowledge Base