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. Transparent Linux Compatibility Layer

    This is waaaaay more than a "feature", so if you say "no" I totally understand why :)

    So here's the thing: there are two things I want in my computing environment as a developer: (a) a pretty and usable interface, and (b) a *nix compatibility layer.

    I build software that often (if not always) deploys on Linux in the cloud. That's my job and background. Because I need (a) and (b) above, right now I primarily use Mac OS X as my computing environment. (Linux hardware support/drivers and UX just isn't quite there yet so I don't use a Linux…

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

        110 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
      • Enable network connection enumeration

        ifconfig, ip, etc. doesn't currently work and /proc/net/dev doesn't exist in Bash on Windows 10 Anniversary Update or Insider builds.

        This issue is being tracked in GitHub and a fix is being investigated: https://github.com/Microsoft/BashOnWindows/issues/908

        Example scenario:
        Running a hyper-v virtual machine win10pro with bash, network issues

        user@WIN10PRO64-02:/$ sudo /sbin/ifconfig
        Warning: cannot open /proc/net/dev (No such file or directory). Limited output.

        /etc/resolve.conf has a dns server configured correctly.

        Network does work and apt-get works,
        but no 'ifconfig' and programs cannot call out to 'eth0'

        Ubuntu is up to date as of this post.
        apt-get update & apt-get upgrade both work

        How…

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

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

          96 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

            12 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
          • When will the Bash be released on the stable version of Windows 10?

            When will we able to use Bash without subscribe on Windows Insider?

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

              101 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 →
              • Mount drives other than C:

                Bash on Windows will automatically mount drive C: under /mnt/c. But other drives (D:, E:, etc.) remain inaccessible to bash. Those drives may be hard drives, SSDs, DVD drives, USB thumb drives, or network mapped drives. For bash to be usable as a development environment these other drives need to be accessible. It would be ideal if they were mounted dynamically without any additional action required by the user. For example, if the user types the following:

                net.exe use * \\remote_machine\c$

                Then whatever drive gets assigned (ie. Z:) should be automatically mounted in bash (ie. under /mnt/z).

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

                  217 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

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

                      1 comment  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                    • Support for filesystem watchers like inotify

                      Currently there is no support for filesystem watchers like inotify.
                      Because of this tools like bitbake don't work.

                      929 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

                        54 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                      • Let us launch Windows processes from Bash

                        It'd be cool to launch VS Code from Bash instead of leaving & looking for the file in Windows Explorer to edit, as was shown in the Demo.
                        It'll allow automating build tasks involving both Linux and Windows tools with sh scripts

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

                          35 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                        • Routing and /proc/net/route

                          Enabling network configuration was really a great job. Next part is to provide /proc/net/route

                          That would be great, thanks !

                          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

                            1 comment  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                          • mount NFS / sshfs / SAMBA / SMB "network drives"

                            After general mount support is added, allowing "network drive" mounts through the mount command and the /net automounter would make it straightforward to integrate a Windows dev machine into a mainly *nix network.

                            534 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

                              50 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                            • Mount USB / SD removable storage devices

                              For example:

                              The micro sd card on my Surface Pro 4 is not mounting when I open bash. It is my d:\ drive in windows. C:\ mounts just fine. I have not even been able to manually mount it. Any thoughts?

                              393 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

                                26 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                              • More customization for native windows command prompt

                                Native windows Command Prompt should also support 24-bit true rgb colors.
                                Ability to change the color and style (boldness, underline, italic) of the prompt or any command or output will be appreciated.

                                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  ·  Console/Terminal  ·  Flag idea as inappropriate…  ·  Admin →
                                • The Glorious Glasgow Haskell Compilation System, also known as GHC, does not work.

                                  apt-get install ghc fails here:

                                  Setting up ghc (7.6.3-10) ...
                                  ghc: timer_create: Invalid argument
                                  update-alternatives: using /usr/bin/ghc to provide /usr/bin/haskell-compiler (haskell-compiler) in auto mode
                                  ghc-pkg: timer_create: Invalid argument
                                  dpkg: error processing package ghc (--configure):
                                  subprocess installed post-installation script returned error exit status 1
                                  Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
                                  dmesg: klogctl failed: Invalid argument
                                  /bin/df: cannot read table of mounted file systems: No such file or directory
                                  Errors were encountered while processing:
                                  ghc
                                  E: Sub-process /usr/bin/dpkg returned an error code (1)

                                  530 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

                                    21 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Support for symlinks and long filenames in bash

                                    Ubuntu subsystem on Windows blows my mind (being a Ruby dev using a Windows 10 machine). I tried many solutions and I've settled with a Vagrant Ubuntu combined with Unison to sync projects across the two machines. Would love to get rid of the vagrant instance but we need to ensure Ubuntu subsystem will support symlinks and extended filenames out of the box (esp since its using shared storage with Windows 10 core subsystem). NPM, for example, needs these two features before it'll work natively. Good work guys!

                                    555 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

                                      Completed  ·  10 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                    • 256 color support

                                      I am not familiar enough with Windows to know if the problem is in Bash for Windows or in Conhost, but 256 color support is not working properly. I have a standard shell script that I run on every system to verify 256-color support, and it works just fine on most systems, but it doesn't run properly under bash for windows. I only get about 16 colors.

                                      You can see some similar example scripts on the ConEmu site.
                                      http://conemu.github.io/en/AnsiEscapeCodes.html

                                      Personally, the script I use is more like:
                                      https://gist.github.com/hSATAC/1095100

                                      But the problem is the same... More ultimately need more "complete xterm"…

                                      432 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 →
                                      • Let us fully administer the Windows side of the machine with Bash

                                        And at that, let it be cohesive with the way we all know bash to be.

                                        For example, suppose I did (this wouldn't be syntactically correct, but you get the idea) :

                                        $ echo -ne "\x01\dword" > /proc/registry/HKLM/Software/Microsoft/Windows/MyKey/MyValue

                                        Or I could also read registry values, like so:

                                        $ cat /proc/registry/HKLM/Software/Microsoft/Windows/MyKey/MyValue

                                        Or search the registry, like so:

                                        $ rgrep -i mydata /proc/registry/HKLM/Software/Microsoft

                                        Also let us do the same thing with other Windows side things like WMI objects. Say I wanted to do this in powershell:

                                        Get-WmiObject Win32_PerfRawData_Tcpip_ICMP

                                        The bash equivalent might be:

                                        cat /proc/wmi/Win32_PerfRawData_Tcpip_ICMP

                                        441 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

                                          19 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Allow native Win32 applications to launch Linux tools/commands

                                          Allow native Win32 code (such as Emacs) to launch Linux tools/commands (such as gcc/clang), with path translation so people can use the native Win32 GUI version of Emacs (or vim) to do development instead of the more restricted command line version. This is significantly better than running Emacs in Windows to edit files and then switching windows to execute commands in the bash console.

                                          344 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

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

                                          Command Prompt / Console / Bash on Ubuntu on Windows

                                          Feedback and Knowledge Base