Date created: Friday, April 1, 2022 9:07:30 AM. Last modified: Thursday, May 5, 2022 8:21:16 AM

WSL

Mount a drive from Windows in WSL2:

mkdir /mnt/f
mount -t drvfs f: /mnt/f

 

Copy to/ from Windows clipboard:

fromcp () {
powershell.exe -noprofile -command Get-Clipboard
}

tocp () {
clip.exe < "${1:-/dev/stdin}"
}

 


Previous page: Windows XP as Guest VM
Next page: Home/SoHo CPEs