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.

  • Vote for an existing idea (31)
  • or
  1. Support mount vhdx

    VHD's mounted via "Computer Management/Disk Management" do not appear as auto-mounted drives in the /mnt area.

    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 →
    • 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 →
      • Support mounting CD/DVD drives

        Support for CD/DVD drives would be nice

        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

          0 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
        • enable nfs mount for BASH for windows

          If we can mount remote fs on the windows machines that would be great , Please help us get past putty and other ssh clients

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

            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

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

              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 →
              • 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 →
                • Preserve execute permission of files from mounted network file systems

                  I currently have a Linux desktop, which I mainly use to create test packages for use on server-type systems with specialized hardware, i.e., the test packages I create cannot run on my Linux desktop. Creating these test packages requires access to some file servers in order to copy needed files, a few of which are executable. Using WSL would very nearly allow me to get rid of my Linux desktop, except it can't distinguish files on the server that have the execute permission set from those that don't.

                  Alternatively, I could copy most of the files I need using our…

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

                    1,079 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 →
                    • allow changing permissions of files mounted from a Samba server.

                      Provide the ability to open files that are mounted from a Samba share. I can mount the share, I can see the folders/files but can't even do a cat...

                      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 →
                      • 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 →
                        • Make the Windows FS mounts under WSL have reasonable user and group

                          Right now the WSL suffers pretty severely from /mnt/c/ and others having all the files owned by root:root and permissions set to 777.

                          A *LOT* of tools will refuse to work with files with those permissions, files owned by root, or under the root account for security reasons. Some quick examples for developers: git and hg (Mercurial)

                          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 →
                          • WSL (Bash on Windows) gives permission denied error for Windows Mounted VHD/VHDX Files

                            I have created a VHDX (GUID type) file in Windows 10.
                            It is mounted as an NTFS formatted drive with drive letter X:
                            When I open the bash (Ubuntu on Windows 10/WSL), I am able to

                            cd /mnt/x

                            However, when I do ls, i get permission denied for all the files. Also, I am not able to create directory even with sudo. Same problem with chmod, chown, etc.

                            I have also tried to grant permissions to everyone through icacls in Windows through command line as well as through the GUI.

                            Have posted a detailed bug here: https://github.com/Microsoft/BashOnWindows/issues/1199

                            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  ·  Flag idea as inappropriate…  ·  Admin →
                            • Allow the user to control the mount points of its win32 drives

                              For example on my cygwin install I switched from /cygdrive/c/ to just /c/ to be more compatible with git (for win32) bash sessions and easier to type.

                              It would be great if we could control where the WSL subsys mounts the windows drives, so people can use anything they want that makes their life easier, instead what for now seems to be magically hard wired /mnt/c (which is a sane default path BTW)

                              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

                                3 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                              • Support mounting xfs/ext2/ext3/ext4/etc. partitions / drives / loop files

                                I have a multi-boot laptop, and would like to mount my xfs / extn / etc. partitions and boot to linux only when needed.

                                579 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

                                  43 comments  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                • 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  ·  Bash/WSL  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Chrooting into existing installations

                                    In conjunction with the request for ext4 mount support, chrooting into existing installations instead of deploying a new distro install in WSL would be a great addition to the upcoming multi-distro support.

                                    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 →
                                    • df (and maybe other tools) not working because of missing /etc/mtab

                                      As described here: https://github.com/Microsoft/BashOnWindows/issues/150
                                      In Ubuntu /etc/mtab is created by init scripts that do not run in lxss.
                                      The best thing to do is to symlink it to /proc/mounts (like in other distributions).

                                      This file is needed for df (and maybe others) to work.

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

                                        53 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 →
                                        • 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

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

                                            Related to “Add USB Device support”: https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/16759696-add-usb-device-support

                                            This is a common ask and, now that we’ve gotten through most of the fundamental engineering, we’ll be more able to start looking-into device support sometime relatively soon, though no guarantees about when and what ;)

                                          ← Previous 1
                                          • Don't see your idea?

                                          Command Prompt / Console / Bash on Ubuntu on Windows

                                          Feedback and Knowledge Base