Skip to content

Instantly share code, notes, and snippets.

@HarshKapadia2
Last active July 24, 2020 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HarshKapadia2/714bba15f0f09d32c07cdde3c244be9f to your computer and use it in GitHub Desktop.
Save HarshKapadia2/714bba15f0f09d32c07cdde3c244be9f to your computer and use it in GitHub Desktop.
WSL (Windows Subsystem for Linux)

WSL

https://thebackroomtech.com/2019/03/13/how-to-run-linux-on-windows-10/

https://www.geeksforgeeks.org/how-to-run-linux-commands-on-windows-10/

https://www.wikihow.com/Become-Root-in-Linux

to access files:

to view ubuntu file system: type '\wsl$' in the file explorer address bar

to access windows files from the terminal 'cd /mnt' and then 'ls' to check for drives on windows (use '\ ' to escape folders with spaces in name eg: for folder 'java programs' the command would be 'cd java\ programs')

in su:

apt-get update

apt-get upgrade

for X server installation: (you need it to view the GUI)

FIRST DOWNLOAD XMING FROM ONE OF THE LINKS BELOW, THEN GEDIT.

install gedit

https://seanthegeek.net/234/graphical-linux-applications-bash-ubuntu-windows/

https://help.ubuntu.com/community/SSH/OpenSSH/Configuring

http://laptops.eng.uci.edu/software-installation/using-linux/how-to-configure-xming-putty

Use VcXsrv for wireshark:

https://medium.com/@dhanar.santika/installing-wsl-with-gui-using-vcxsrv-6f307e96fac0

for ns2 and nam installation:

https://www.youtube.com/watch?v=dnTbE5T9Fr0

WSL2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment