1
0
mirror of https://github.com/xcad2k/cheat-sheets.git synced 2022-05-05 20:20:37 +03:00

wsl update

This commit is contained in:
Christian Lempa
2022-04-06 10:33:53 +02:00
parent bbec176919
commit a961aa62b8
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
# SED Cheat-Sheet
TMP
replace pattern:
```
sed -i 's/Steven/Kate/' file
```

View File

@@ -1,4 +1,27 @@
# WSL Cheat-Sheet
## Symbolic Links
### Link .ssh folder
```
sudo ln -s /mnt/c/Users/lempa/.ssh ~/.ssh
```
### Link .kube folder
```
sudo ln -s /mnt/c/Users/lempa/.ssh ~/.ssh
```
## File Permissions
**Example wsl.conf**
```
[automount]
enabled = true
options = "metadata,uid=1000,gid=1000,umask=077,fmask=11,case=off"
mountFsTab = true
[interop]
enabled = false
appendWindowsPath = false
```
## Networking
### Port Forwarding