User Tools

Site Tools


wsl_cheatsheet

This is an old revision of the document!


WSL Cheatsheet

Accessing drives

  • In WSL, accessing Windows drive: /mnt/c/Dev
  • In Windows, accessing WSL: \\wsl.localhost\Ubuntu\home

Run commands on Bash start up

Edit your .bashrc file, it will be \\wsl.localhost\Ubuntu\home\<you>\.bashrc, append whatever you want to the bottom.

List files properly

The command you want is ll which is an alias of ls -alF.

wsl_cheatsheet.1722298847.txt.gz · Last modified: 2024/07/30 00:20 by stephen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki