User Tools

Site Tools


wsl_linux_ubuntu_cheatsheet

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
wsl_linux_ubuntu_cheatsheet [2025/09/07 05:18] – ↷ Page name changed from wsl_cheatsheet to wsl_linux_ubuntu_cheatsheet adminwsl_linux_ubuntu_cheatsheet [2025/09/07 05:27] (current) stephen
Line 1: Line 1:
-====== WSL Cheatsheet ======+====== WSL / Linux / Ubuntu Cheatsheet ======
  
 ===== Commands ===== ===== Commands =====
Line 18: 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.
 +
 +===== Mount a Windows Drive =====
 +
 +  - Get drive info: ''sudo fdisk -l'', look for something like ''/dev/sda4''.
 +  - Make a directory to mount it to: ''sudu mkdir /mnt/windows''.
 +  - Mount it: ''sudo mount -t ntfs-3g /dev/sda4 /mnt/windows''. Add a ''-r'' for read only.
  
wsl_linux_ubuntu_cheatsheet.txt · Last modified: 2025/09/07 05:27 by stephen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki