Ubuntu bash shell under Windows

Steps for using Linux Ubuntu bash shell under Windows OS


1. Go to Windows store > download Ubuntu bash shell
2. Setup id & password
3. update same as Linux:
sudo apt-get update

Useful info:

  • Home directory (under Windows file manager):

C:\Users\david.huang\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\home

  • C-drive directory (under shell): 
/mnt/c/

  • To make git work (if it doesn't work under shell)
git config core.autocrlf true

留言