Showing posts with label Windows 10. Show all posts
Showing posts with label Windows 10. Show all posts

24 February 2017

How to access your windows documents folder from the ubuntu bash

  1. make sure you are in root. cd ~
  2. type in cd /mnt and ls to list the content
  3. Now you can go to the volume where your data stored using cd path/../
  4. To go to 'Documents' from root, cd /mnt/c/Users/YourUserName/Documents

How to install Ubuntu linux bash on windows 10

As developer, it sometimes easier to use bash to do some process. e.g. it's easier to install Git from the bash and also it's easier to commit a file or create and delete a branch from the command line.

Steps:
  1. Go to start >> settings >>  Update & security
  2. Go to For developers and active the Developer mode radio button. 
  3. Go to Programs and Features >> Turn Windows features on or off
  4. Select the check box on Windows Subsystem for Linux(Beta)
  5. Reboot your computer
  6. To use the bash, go to start, type in "Ubuntu" or "bash"