-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
BitwiseOperator
committed
Oct 14, 2024
1 parent
224b9c8
commit a474585
Showing
2 changed files
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 23 additions & 19 deletions
42
docs/Knowledge_Base/OS/Windows/Commands/WSL_Windows_Subsystem_Linux.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,32 @@ | ||
### Kali Linux WSL - [_Reference_](https://www.kali.org/docs/wsl/wsl-preparations/#dism) | ||
!!! info "" | ||
|
||
#### Enabling "WSL Windows Subsystem Linux" | ||
|
||
Run `cmd` as Admin | ||
|
||
Run cmd as Admin | ||
```bash | ||
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | ||
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all | ||
``` | ||
|
||
```shell | ||
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | ||
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all | ||
`` | ||
**Reboot** | ||
|
||
Reboot | ||
```bash | ||
wsl --set-default-version 2 | ||
|
||
```shell | ||
wsl --set-default-version 2 | ||
``` | ||
wsl --install --distribution kali-linux | ||
#Setup the username and password | ||
``` | ||
|
||
```shell | ||
wsl --install --distribution kali-linux | ||
#Setup the username and password | ||
``` | ||
#### Location to move files locally | ||
|
||
### Location to move files locally | ||
Change USER_PROFILE | ||
|
||
Change USER_PROFILE | ||
```bash | ||
cd /mnt/c/users/USER_PROFILE/downloads | ||
``` | ||
|
||
```shell | ||
cd /mnt/c/users/USER_PROFILE/downloads | ||
``` | ||
!!! info "" | ||
|
||
#### Reference(s) | ||
- Kali Linux WSL - [Kali wsl-preparations](https://www.kali.org/docs/wsl/wsl-preparations/#dism) |