WSL2: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 20: Line 20:
* Install Nmap for Windows
* Install Nmap for Windows
* .bashrc:
* .bashrc:
<blockquote>
<pre>
<pre>
alias nmap='"/mnt/c/Program Files (x86)/Nmap/nmap.exe"'
alias nmap='"/mnt/c/Program Files (x86)/Nmap/nmap.exe"'
</pre>
</pre>
</blockquote>

Revision as of 20:50, 21 September 2018

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux


Running Linux Commands

  • using bash.exe
bash.exe -c "jupyter-notebook ; /bin/bash"


  • using wsl
wsl jupyter-notebook &


Nmap

  • Install Nmap for Windows
  • .bashrc:
alias nmap='"/mnt/c/Program Files (x86)/Nmap/nmap.exe"'