How to send commands without typing it on the serial monitor?

you're cross posting