Well, you can refer to this guide - https://github.com/jackpal/Android-Terminal-Emulator/wiki/Android-Shell-Command-Reference
It has almost everything you can do on Android Debug Bridge (adb) .
p.s: Also check out Google's documentation - https://developer.android.com/studio/command-line/adb.html
Most of the sh builtins and some other common linux utilities. Here's an incomplete list: https://github.com/jackpal/Android-Terminal-Emulator/wiki/Android-Shell-Command-Reference
As with all small linux environments, busybox will get you more tools.
EDIT: it appears I was wrong as I just tested my tablet and it does not have vi. I'm wondering if maybe my phone's ROM has busybox baked in.
ADB Wifi is the Run Shell action on steroids. The commands you can execute are the same. However, ADB Wifi runs as privileged (semi-root) user. This makes the commands much more likely to succeed. Also, the commands may have additional options that are not available to a "normal" user.
It hasn't been updated in awhile, but this gives a good explanation of what the Android shell is and what commands are available:
https://github.com/jackpal/Android-Terminal-Emulator/wiki/Android-Shell-Command-Reference
Sure. I found busybox commands from this XDA post.
The above is what I was really looking for. However, I also found and bookmarked this: Terminal Emulator Github