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

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

      • bash copy paste

        Keyboard-based copy/paste should work in the bash console (ctrl+c/v)

        662 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 →
        • 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)

          521 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

            17 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
          • Let us right click "open bash here" from explorer

            Similar to how you can shift+right click and "open command window here" while viewing a folder through explorer. It would be nice to have "open bash here" as well.

            517 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 →
            • Add FUSE (Filesystem in Userspace) support in WSL

              Please add FUSE (Filesystem in Userspace) interface /dev/fuse into WSL (Windows Subsystem for Linux).
              With FUSE, we can access from WSL to file storages regularly used with Linux cluster environments such as GlusterFS, Moose FS, etc.

              446 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

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

                325 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

                  30 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                • keep command line history & add sudo command

                  While the use of the command line is a rare thing for the end user, developers and server admins, its an essential routine that we do all the time.

                  One really annoying thing I wish was on the command line is a history of all the commands I ever typed everytime I go to the terminal.

                  it would be really cool to have a sudo command like linux does, nothing is more annoying than having to reopen a terminal as admin to do something the linux community has enjoyed for many years.

                  270 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

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

                    Yes, both of these got onto our backlog early and are good feature ideas. A bit of a challenge to make sudo work as most of us would expect, given the Windows elevation model. But we have some ideas on what can work to provide the functionality. —Rich

                  • Please add 32 bit ELF support to the kernel

                    It seems that executing 32bit ELF binaries results in "Exec format error" - guessing the kernel doesn't have 32 bit emulation support (compilation is fine, but precompiled binaries don't run). A vast number of legacy programs are still 32 bit, please add support if it won't completely destroy everything in the process - thanks!

                    260 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

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

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

                        Altered the title to reflect the more general ask.

                        This ask is on our backlog; please upvote here if you would like this feature implemented, and share any details about your scenarios if unique/interesting.

                        Thanks.

                      • Access to "real" linux devices in /dev

                        ...or at least to /dev/sda? (disks) block devices. It could be very powerful to run things like
                        dd if=/dev/sda2 of=some-remote-mounted-volume/my-backup-C.img

                        151 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 →
                        • Alternate install location option would be nice

                          Currently the only place the linux lxss folder can be located is inside the user's user profile directory. It'd be nice to be able to put this folder anywhere on any drive for those of us with small SSD c: drives.

                          150 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

                            6 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                          • Filesystem slow compared with native Ubuntu system.

                            http://www.phoronix.com/scan.php?page=article&item=windows-10-lxcore&num=1

                            Lists some benchmarks across Ubuntu and this subsystem. It is very competitive with Native Ubuntu Linux, except when it comes to filesystem access.

                            Filesystem access is important for compilation, as well as the thousands of "watcher" js and ruby programs that constantly touch the filesystem, which are the stated target market.

                            So, find a way to speed that up. (I don't know how you are currently mounting the filesystem, so I can't offer any ideas, other than removes as many layers as possible to the filesystem.)

                            If you are using the ntfs systems in Linux, you might consider implementing…

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

                              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 →
                              • Make WSL filesystem accessible from Windows

                                Access to the Windows filesystem from WSL is easy enough. Now we need access to the WSL filesystem from Windows.

                                113 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

                                  6 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                • A file created in C:\Users\<user>\AppData\Local\lxss\root from Windows isn't visible in WSL

                                  I would like to be able to create files in the WSL root directory using Windows tools (VSC, NotePad++...)

                                  I can modify files there (e.g. .bashrc) but if I create new files they are not visible from the WSL side.

                                  87 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 →
                                  • Symlinks and pathing.

                                    Currently getting "Operation not permitted" with ln -s (which I believe is due to a filesystem incompatibility). Also it would be phenomenal to see slash paths adopted across the filesystem.

                                    80 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 →
                                    • Mount image as loop device

                                      root@localhost:/mnt/c/Users/username/Downloads# mount -t ext4 -o loop system.img output
                                      mount: Could not find any loop device. Maybe this kernel does not know
                                      about the loop device? (If so, recompile or `modprobe loop'.)

                                      root@localhost:/mnt/c/Users/username/Downloads# modprobe loop
                                      modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.4.0+/modules.dep.bin'

                                      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

                                        3 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Add a way to copy to Windows clipboard from the LXSS shell

                                        So that we can pipe to the clipboard or have y command in Vim compiled with +clipboard send things to the system clipboard.

                                        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

                                          3 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Offline installer for bash

                                          It needs to be possible to install bash offline.

                                          There are a thousands of us who'd kill to be able to use bash on Windows machines attached to classified and other machines that are offline, and can't ever be connected to the Internet for any reason.

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

                                            Hey all. Thanks for posting this ask: Its something we hear on a semi-regular basis.

                                            We understand and appreciate many of the scenarios in which one might want to install a Linux distro offline using a previously downloaded/acquired image. However, we just didn’t have cycles to handle this request in the Win10AU release.

                                            It’s on the backlog and we will consider for a future release.

                                          ← Previous 1 3 4 5 6 7 8
                                          • Don't see your idea?

                                          Command Prompt / Console / Bash on Ubuntu on Windows

                                          Feedback and Knowledge Base