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

      68 comments  ·  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?

      995 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

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

        32 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 →
        • 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…

          35 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 →
          • Xorg Server for WSL

            WSL requires as A MUST a fully GPU accelerated Xorg Server with Full Desktop integration aka dubble clik a Linux elf file it open in the Xorg Server which is the Windows Desktop!!!

            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

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

              36 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 →
              • Support mknod /dev/net /tun in WSL

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

                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

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

                  21 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 →
                  • 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…

                    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  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                    • System V IPC support needed

                      This is a WSL/lxss request to add support for System V IPC capabilities that are necessary for many linuxy things, apparently including fakeroot which I stumbled upon while attempting to build debian source packages. In the interim it looks like I'll have to use Linux to cross-build for WSL.

                      I noticed in githib that this is a know issue on the backlog, however is lacking sufficient "telemetry" to assist in prioritization :(https://github.com/Microsoft/BashOnWindows/issues/1016)

                      Failing to find the issue here I felt that I should post something so that others looking for this support might want to say so by…

                      47 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 →
                      • 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!

                        131 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

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

                          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

                            2 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                          • Consider enabling cron jobs, daemons and background tasks

                            Bash/WSL doesn't support cron jobs, daemons or background tasks in Win10AU. The ability to run background jobs would be very useful. Please consider adding this feature.

                            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

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

                              Updated the title to reflect the ask.

                              This first release of Bash/WSL doesn’t support background tasks, cron jobs, daemons, etc. Currently, when you close your last bash shell console window, we tear-down the Linux process chain in order to conserve resources.

                              We are looking at the ability to run background tasks/daemons/cron jobs in future releases.

                            • Support for running systemd

                              Not to replace the current WSL init, per se, but it would be very useful to be able to run "systemd --system --unit=foo.target" as a way to set up and manage sets of services/daemons required for particular development, etc., configurations.

                              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

                                1 comment  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                              • Convert paths dragged from File Explorer to the bash shell equivalent

                                Eg, when dragging folder "C:\Users\Alice\Documents" and dropping it into a bash window, paste the following:

                                "/mnt/c/Users/Alice/Documents"

                                57 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/hosts is still reset after every restart (i.e. custom entries do not persist)

                                  Despite the "fixed" status on the other post asking the same question, the /etc/hosts file is STILL reset every time bash restarts. To reproduce:

                                  sudo su
                                  echo "127.0.0.1 testdomain" >> /etc/hosts
                                  ping testdomain (works, obviously)
                                  exit

                                  Close the all bash windows, then open a new one:
                                  ping testdomain
                                  (fails, cat /etc/hosts reveals why...it's been reset)

                                  This makes adding custom entries to the hosts file impossible and I have to constantly cat the contents of the Windows hosts file.

                                  11 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 →
                                  • Linux like mouse click selection and copy/paste

                                    In *Nix systems we can drag select text. Alternatively double left-clicking will smartly select a word/path (etc) boundary. Clicking for the third time selects the entire line. In all instances above it will auto copy to the selection to the clipboard.

                                    Whilst we have some slightly better options with Quick edit and insert mode there's still some subtle differences than the experiences above.

                                    Can we more closely mimic this behaviour?

                                    36 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 →
                                    • 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?

                                      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

                                        2 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                      • WSL: wayland/display manger support , may be easier or more efficient to implement then xorg

                                        I would rather see this then xorg it would likely be more efficient in the long run then trying to cobbled together some hacked up version of x
                                        wayland is closer to the kernel it would pair nicely with WSL

                                        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  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Use Bash in Visual studio

                                          It would be nice if I can use Bash inside Visual studio just like use powershell in Visual Studio.

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

                                          Command Prompt / Console / Bash on Ubuntu on Windows

                                          Feedback and Knowledge Base