This sheet goes along with this SSH YouTube tutorial
$ ssh [email protected]
$ mkdir test
$ cd test
| import digitalio | |
| import board | |
| import usb_hid | |
| import time | |
| from adafruit_hid.keyboard import Keyboard | |
| from adafruit_hid.mouse import Mouse | |
| from adafruit_hid.keycode import Keycode | |
| from adafruit_hid.consumer_control import ConsumerControl | |
| from adafruit_hid.consumer_control_code import ConsumerControlCode |
| $remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '" | |
| $found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; | |
| if( $found ){ | |
| $remoteport = $matches[0]; | |
| } else{ | |
| echo "The Script Exited, the ip address of WSL 2 cannot be found"; | |
| exit; | |
| } |
$ ssh [email protected]
$ mkdir test
$ cd test
mhwd-chroot
yaourt -S mhwd-chrootsudo mhwd-chrootgrub-install /dev/sdagrub-install --recheck /dev/sda