티스토리 뷰
shared-folder-in-windows-subsystem-for-linux
- this post covers how to share a folder(including files) in WSL
- environment
- Windows 10 / Home
- WSL / Ubuntu 18.04 LTS
- Visual Studio Code
pre-task
- install WSL in your Windows 10
- open the
Microsoft Store
- search for
Ubuntu
- click
Ubuntu 18.04 LTS
- get and install it
- open the
- prepare the environment
- initialize your WSL
make-link
- make a folder in some directory on Windows
- ex)
D:\Code\LinuxShare
- ex)
- make a link in some directory on WSL
- format)
ln -s /mnt/[partition]/[folder...] [link-name]
- ex)
ln -s /mnt/d/Code/LinuxShare share-with-windows
- format)
make-file
- make a text file on Windows side
- ex)
D:\Code\LinuxShare\test.txt
- ex)
- check out the text file on WSL side
- ex)
~/share-with-windows/test.txt
- ex)
- edit the text file and save it on WSL side
- ex)
hello WSL !
→hello Windows !
- ex)
- check out the text file on Windows side
typing-and-compiling
- make a c file and edit it on Windows side
- ex)
D:\Code\LinuxShare\test.c
- ex)
- compile the c file and execute it
- ex)
~/share-with-windows/test.c
- ex)
- you can now type texts on Windows and compile that on WSL
- also output file,
a.out
will be seen on Windows side
'Tool' 카테고리의 다른 글
google-remote-desktop (0) | 2019.03.30 |
---|---|
get-profile-picture-on-slack (0) | 2019.01.06 |
ATOM으로 필기를 해보자 #03 (0) | 2018.07.08 |
ATOM으로 필기를 해보자 #02 (0) | 2018.06.30 |
ATOM으로 필기를 해보자 #01 (0) | 2018.05.01 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- PopeTV
- WindowAPI
- unreal
- CUDA
- cuDNN
- NOX
- dll
- visual-studio
- JIT
- Game
- git
- CAFFE
- ATOM
- Hashtable
- Slack
- A.I.
- unity
- Anaconda
- visualstudio
- lib
- Docker
- DirectX
- pclaf
- tensorflow
- windows
- vscode
- csharp
- shader
- Python
- C/C++
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함