User Tools

Site Tools


wsl_cheatsheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
wsl_cheatsheet [2024/07/31 21:50] stephenwsl_cheatsheet [2024/07/31 21:52] (current) stephen
Line 8: Line 8:
 | Windows: ''wsl -s ubuntu'' | Make Ubuntu the default. | | Windows: ''wsl -s ubuntu'' | Make Ubuntu the default. |
 | WSL: ''sudo apt-get update && sudo apt-get install -y dotnet-sdk-7.0'' | Install Dotnet on WSL. | | WSL: ''sudo apt-get update && sudo apt-get install -y dotnet-sdk-7.0'' | Install Dotnet on WSL. |
 +| WSL: ''ll'' or ''ls -alF'' | List files properly. |
  
 ===== Accessing drives ===== ===== Accessing drives =====
Line 17: Line 18:
  
 Edit your ''.bashrc'' file, it will be ''\\wsl.localhost\Ubuntu\home\<you>\.bashrc'', append whatever you want to the bottom. 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.txt · Last modified: 2024/07/31 21:52 by stephen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki