Can't find Ubuntu Bash Root directory in Windows 10 [duplicate]











up vote
8
down vote

favorite













This question already has an answer here:




  • Where is the Ubuntu file system root directory in Windows Subsystem for Linux and vice versa?

    5 answers




I have installed Ubuntu Bash for Windows 10 on my PC, but I cannot find my root directory in which the bash works in. I know that it should be located in



C:/Users/[Username]/Appdata/Local/Lxss


but it's not there. I have verified that my files exist but the directory does not show, even with hidden files shown. Any help would be much appreciated!










share|improve this question















marked as duplicate by muru, karel, Charles Green, Fabby, Eric Carvalho Nov 16 at 18:02


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















    up vote
    8
    down vote

    favorite













    This question already has an answer here:




    • Where is the Ubuntu file system root directory in Windows Subsystem for Linux and vice versa?

      5 answers




    I have installed Ubuntu Bash for Windows 10 on my PC, but I cannot find my root directory in which the bash works in. I know that it should be located in



    C:/Users/[Username]/Appdata/Local/Lxss


    but it's not there. I have verified that my files exist but the directory does not show, even with hidden files shown. Any help would be much appreciated!










    share|improve this question















    marked as duplicate by muru, karel, Charles Green, Fabby, Eric Carvalho Nov 16 at 18:02


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

















      up vote
      8
      down vote

      favorite









      up vote
      8
      down vote

      favorite












      This question already has an answer here:




      • Where is the Ubuntu file system root directory in Windows Subsystem for Linux and vice versa?

        5 answers




      I have installed Ubuntu Bash for Windows 10 on my PC, but I cannot find my root directory in which the bash works in. I know that it should be located in



      C:/Users/[Username]/Appdata/Local/Lxss


      but it's not there. I have verified that my files exist but the directory does not show, even with hidden files shown. Any help would be much appreciated!










      share|improve this question
















      This question already has an answer here:




      • Where is the Ubuntu file system root directory in Windows Subsystem for Linux and vice versa?

        5 answers




      I have installed Ubuntu Bash for Windows 10 on my PC, but I cannot find my root directory in which the bash works in. I know that it should be located in



      C:/Users/[Username]/Appdata/Local/Lxss


      but it's not there. I have verified that my files exist but the directory does not show, even with hidden files shown. Any help would be much appreciated!





      This question already has an answer here:




      • Where is the Ubuntu file system root directory in Windows Subsystem for Linux and vice versa?

        5 answers








      windows-subsystem-for-linux






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 18 '17 at 6:49









      muru

      134k19282482




      134k19282482










      asked May 13 '17 at 23:01









      Nishanth Mankame

      4112




      4112




      marked as duplicate by muru, karel, Charles Green, Fabby, Eric Carvalho Nov 16 at 18:02


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






      marked as duplicate by muru, karel, Charles Green, Fabby, Eric Carvalho Nov 16 at 18:02


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          3 Answers
          3






          active

          oldest

          votes

















          up vote
          4
          down vote













          Please DO NOT access the Linux filesystem from Windows: Read this for more info: https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/



          We are working on improving filesystem interop in future releases, but for now, if you want to share files between Windows & Linux, store the shared files in the Windows filesystem, and access them from Linux via /mnt/c/...






          share|improve this answer





















          • Is it not mostly read only either way
            – tREEs
            Nov 16 at 2:10










          • Sorry @tREEs - I don't follow your question
            – Rich Turner
            Nov 16 at 22:01


















          up vote
          0
          down vote













          I wanted to copy a file from windows desktop to Ubuntu user directory and I was searching for ubuntu root directory using windows file explorer.



          Later I realised that windows folders can easily be accessed from Ubuntu bash.



          Windows directories can be found under /mnt/c/Users/YOUR_USERNAME_HERE/



          EX: if you want to access desktop then => /mnt/c/Users/YOUR_USERNAME_HERE/Desktop



          Later I used cp command to copy files from Desktop to Ubuntu as



          $cd /mnt/c/Users/YOUR_USERNAME_HERE/Desktop
          $cp filename.ext ~/


          ~/ => this directly refers to ubuntu user directory.



          Tip: Same thing can be done for moving files from ubuntu to windows as well.






          share|improve this answer






























            up vote
            -2
            down vote













            This happened to me, because I removed bash and reinstalled it from Windows store.



            The work around I used was to create a shortcut of



            C:UsersuserAppDataLocallxss


            and pasted it into



            C:UsersuserAppDataLocal 


            Now my applications on Windows (such as Atom) can access project files made from Ubuntu bash.






            share|improve this answer



















            • 1




              Please DO NOT access the Linux filesystem from Windows: Read this for more info: blogs.msdn.microsoft.com/commandline/2016/11/17/…
              – Rich Turner
              Sep 7 '17 at 19:44










            • A better way would be to push your Ubuntu work into a Windows directory for your other applications to access.
              – WinEunuuchs2Unix
              Oct 7 '17 at 23:57


















            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            4
            down vote













            Please DO NOT access the Linux filesystem from Windows: Read this for more info: https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/



            We are working on improving filesystem interop in future releases, but for now, if you want to share files between Windows & Linux, store the shared files in the Windows filesystem, and access them from Linux via /mnt/c/...






            share|improve this answer





















            • Is it not mostly read only either way
              – tREEs
              Nov 16 at 2:10










            • Sorry @tREEs - I don't follow your question
              – Rich Turner
              Nov 16 at 22:01















            up vote
            4
            down vote













            Please DO NOT access the Linux filesystem from Windows: Read this for more info: https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/



            We are working on improving filesystem interop in future releases, but for now, if you want to share files between Windows & Linux, store the shared files in the Windows filesystem, and access them from Linux via /mnt/c/...






            share|improve this answer





















            • Is it not mostly read only either way
              – tREEs
              Nov 16 at 2:10










            • Sorry @tREEs - I don't follow your question
              – Rich Turner
              Nov 16 at 22:01













            up vote
            4
            down vote










            up vote
            4
            down vote









            Please DO NOT access the Linux filesystem from Windows: Read this for more info: https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/



            We are working on improving filesystem interop in future releases, but for now, if you want to share files between Windows & Linux, store the shared files in the Windows filesystem, and access them from Linux via /mnt/c/...






            share|improve this answer












            Please DO NOT access the Linux filesystem from Windows: Read this for more info: https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/



            We are working on improving filesystem interop in future releases, but for now, if you want to share files between Windows & Linux, store the shared files in the Windows filesystem, and access them from Linux via /mnt/c/...







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 7 '17 at 19:46









            Rich Turner

            1,511915




            1,511915












            • Is it not mostly read only either way
              – tREEs
              Nov 16 at 2:10










            • Sorry @tREEs - I don't follow your question
              – Rich Turner
              Nov 16 at 22:01


















            • Is it not mostly read only either way
              – tREEs
              Nov 16 at 2:10










            • Sorry @tREEs - I don't follow your question
              – Rich Turner
              Nov 16 at 22:01
















            Is it not mostly read only either way
            – tREEs
            Nov 16 at 2:10




            Is it not mostly read only either way
            – tREEs
            Nov 16 at 2:10












            Sorry @tREEs - I don't follow your question
            – Rich Turner
            Nov 16 at 22:01




            Sorry @tREEs - I don't follow your question
            – Rich Turner
            Nov 16 at 22:01












            up vote
            0
            down vote













            I wanted to copy a file from windows desktop to Ubuntu user directory and I was searching for ubuntu root directory using windows file explorer.



            Later I realised that windows folders can easily be accessed from Ubuntu bash.



            Windows directories can be found under /mnt/c/Users/YOUR_USERNAME_HERE/



            EX: if you want to access desktop then => /mnt/c/Users/YOUR_USERNAME_HERE/Desktop



            Later I used cp command to copy files from Desktop to Ubuntu as



            $cd /mnt/c/Users/YOUR_USERNAME_HERE/Desktop
            $cp filename.ext ~/


            ~/ => this directly refers to ubuntu user directory.



            Tip: Same thing can be done for moving files from ubuntu to windows as well.






            share|improve this answer



























              up vote
              0
              down vote













              I wanted to copy a file from windows desktop to Ubuntu user directory and I was searching for ubuntu root directory using windows file explorer.



              Later I realised that windows folders can easily be accessed from Ubuntu bash.



              Windows directories can be found under /mnt/c/Users/YOUR_USERNAME_HERE/



              EX: if you want to access desktop then => /mnt/c/Users/YOUR_USERNAME_HERE/Desktop



              Later I used cp command to copy files from Desktop to Ubuntu as



              $cd /mnt/c/Users/YOUR_USERNAME_HERE/Desktop
              $cp filename.ext ~/


              ~/ => this directly refers to ubuntu user directory.



              Tip: Same thing can be done for moving files from ubuntu to windows as well.






              share|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                I wanted to copy a file from windows desktop to Ubuntu user directory and I was searching for ubuntu root directory using windows file explorer.



                Later I realised that windows folders can easily be accessed from Ubuntu bash.



                Windows directories can be found under /mnt/c/Users/YOUR_USERNAME_HERE/



                EX: if you want to access desktop then => /mnt/c/Users/YOUR_USERNAME_HERE/Desktop



                Later I used cp command to copy files from Desktop to Ubuntu as



                $cd /mnt/c/Users/YOUR_USERNAME_HERE/Desktop
                $cp filename.ext ~/


                ~/ => this directly refers to ubuntu user directory.



                Tip: Same thing can be done for moving files from ubuntu to windows as well.






                share|improve this answer














                I wanted to copy a file from windows desktop to Ubuntu user directory and I was searching for ubuntu root directory using windows file explorer.



                Later I realised that windows folders can easily be accessed from Ubuntu bash.



                Windows directories can be found under /mnt/c/Users/YOUR_USERNAME_HERE/



                EX: if you want to access desktop then => /mnt/c/Users/YOUR_USERNAME_HERE/Desktop



                Later I used cp command to copy files from Desktop to Ubuntu as



                $cd /mnt/c/Users/YOUR_USERNAME_HERE/Desktop
                $cp filename.ext ~/


                ~/ => this directly refers to ubuntu user directory.



                Tip: Same thing can be done for moving files from ubuntu to windows as well.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 16 at 13:18









                Pierre.Vriens

                1,12761116




                1,12761116










                answered Nov 16 at 2:05









                chandra shekar

                11




                11






















                    up vote
                    -2
                    down vote













                    This happened to me, because I removed bash and reinstalled it from Windows store.



                    The work around I used was to create a shortcut of



                    C:UsersuserAppDataLocallxss


                    and pasted it into



                    C:UsersuserAppDataLocal 


                    Now my applications on Windows (such as Atom) can access project files made from Ubuntu bash.






                    share|improve this answer



















                    • 1




                      Please DO NOT access the Linux filesystem from Windows: Read this for more info: blogs.msdn.microsoft.com/commandline/2016/11/17/…
                      – Rich Turner
                      Sep 7 '17 at 19:44










                    • A better way would be to push your Ubuntu work into a Windows directory for your other applications to access.
                      – WinEunuuchs2Unix
                      Oct 7 '17 at 23:57















                    up vote
                    -2
                    down vote













                    This happened to me, because I removed bash and reinstalled it from Windows store.



                    The work around I used was to create a shortcut of



                    C:UsersuserAppDataLocallxss


                    and pasted it into



                    C:UsersuserAppDataLocal 


                    Now my applications on Windows (such as Atom) can access project files made from Ubuntu bash.






                    share|improve this answer



















                    • 1




                      Please DO NOT access the Linux filesystem from Windows: Read this for more info: blogs.msdn.microsoft.com/commandline/2016/11/17/…
                      – Rich Turner
                      Sep 7 '17 at 19:44










                    • A better way would be to push your Ubuntu work into a Windows directory for your other applications to access.
                      – WinEunuuchs2Unix
                      Oct 7 '17 at 23:57













                    up vote
                    -2
                    down vote










                    up vote
                    -2
                    down vote









                    This happened to me, because I removed bash and reinstalled it from Windows store.



                    The work around I used was to create a shortcut of



                    C:UsersuserAppDataLocallxss


                    and pasted it into



                    C:UsersuserAppDataLocal 


                    Now my applications on Windows (such as Atom) can access project files made from Ubuntu bash.






                    share|improve this answer














                    This happened to me, because I removed bash and reinstalled it from Windows store.



                    The work around I used was to create a shortcut of



                    C:UsersuserAppDataLocallxss


                    and pasted it into



                    C:UsersuserAppDataLocal 


                    Now my applications on Windows (such as Atom) can access project files made from Ubuntu bash.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Aug 18 '17 at 6:47









                    Zanna

                    49k13123234




                    49k13123234










                    answered Aug 17 '17 at 12:34









                    malik Mazhar Ali

                    1




                    1








                    • 1




                      Please DO NOT access the Linux filesystem from Windows: Read this for more info: blogs.msdn.microsoft.com/commandline/2016/11/17/…
                      – Rich Turner
                      Sep 7 '17 at 19:44










                    • A better way would be to push your Ubuntu work into a Windows directory for your other applications to access.
                      – WinEunuuchs2Unix
                      Oct 7 '17 at 23:57














                    • 1




                      Please DO NOT access the Linux filesystem from Windows: Read this for more info: blogs.msdn.microsoft.com/commandline/2016/11/17/…
                      – Rich Turner
                      Sep 7 '17 at 19:44










                    • A better way would be to push your Ubuntu work into a Windows directory for your other applications to access.
                      – WinEunuuchs2Unix
                      Oct 7 '17 at 23:57








                    1




                    1




                    Please DO NOT access the Linux filesystem from Windows: Read this for more info: blogs.msdn.microsoft.com/commandline/2016/11/17/…
                    – Rich Turner
                    Sep 7 '17 at 19:44




                    Please DO NOT access the Linux filesystem from Windows: Read this for more info: blogs.msdn.microsoft.com/commandline/2016/11/17/…
                    – Rich Turner
                    Sep 7 '17 at 19:44












                    A better way would be to push your Ubuntu work into a Windows directory for your other applications to access.
                    – WinEunuuchs2Unix
                    Oct 7 '17 at 23:57




                    A better way would be to push your Ubuntu work into a Windows directory for your other applications to access.
                    – WinEunuuchs2Unix
                    Oct 7 '17 at 23:57



                    Popular posts from this blog

                    How to change which sound is reproduced for terminal bell?

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents