https://github.com/md-command-line/one-wsl-journey
https://github.com/md-command-line/one-wsl-journey
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/md-command-line/one-wsl-journey
- Owner: md-command-line
- Created: 2019-09-14T16:21:57.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-15T19:08:06.000Z (almost 7 years ago)
- Last Synced: 2025-07-02T05:05:38.375Z (12 months ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# one-humans-wsl-journey
## access files outside of (WSL)ubuntu
https://superuser.com/questions/1083962/windows-linux-subsystem-accessing-files-outside-of-ubuntu
```
cd /mnt/c/Users
```
## access linux files from windows:
https://superuser.com/a/1266799/644627
```
C:\Users\%USERNAME%\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\
```
## git bash terminal on wsl
https://www.reddit.com/r/bashonubuntuonwindows/comments/8b0qhl/can_i_use_gitbashs_terminal_for_wsl/
```
"C:\Program Files\Git\usr\bin\mintty.exe" --exec /usr/bin/winpty "C:\Windows\System32\bash.exe" -c "cd ~; $SHELL --login -i"
```
```
echo %cd%
```
```bash
pwd2=$PWD "c/Program Files/Git/usr/bin/mintty.exe" --exec /usr/bin/winpty "c/Windows/System32/bash.exe" -c "cd $pwd2; $SHELL --login -i"
```
## troubleshoot a permission issue for bash
https://stackoverflow.com/a/48841189/5283424
```
sudo umount /mnt/c
sudo mount -t drvfs C: /mnt/c -o metadata
```
## an attempt to gain powerline fonts on windows subsystem linux.
https://medium.com/@jrcharney/bash-on-ubuntu-on-windows-the-almost-complete-set-up-1dd3cb89b794
now the only question is ... what are powerline fonts and which should I use?
## helpful googles usually include "bash on ubuntu on windows"
https://stackoverflow.com/questions/41225711/wsl-run-linux-from-windows-without-spawning-a-cmd-window