Pro micro keyboard ON!

Hello
I’m a bit noobi, I don’t know if this is the right place for this problem. It’s not related to code. It is related to how to reprogram the pro micro.
I programmed my micro(atmega32u4) to write a command”mpstat > /dev/ttyUSB0” to the keyboard and then read something with the serial and so on keeps this circle.
The mistake I did is didn’t wait for serial. So the keyboard keeps sending data without waiting for the arduino IDE to upload a new sketch.
What should I do?
I tried keeps the micro down with the reset pin till the upload starts but once I released the RST pin It starts typing before new sketch starts the programming.
The other issue I noticed ttyUSB0 is not located on the computer. But could be due to over sending the command line and hanging the cpu?! Could be.

Does your programmer not have DTR pin reset support?
So it resets the Arduino right before it is ready to upload?

You might have more luck with avrdude from the command line. That way you can press reset, and press enter to run the avrdude upload command, at more or less exactly the same time. Easier than trying to time with "uploading sketch" appearing in the IDE.

I tried this
Upload a sketch using arduino as ISP and uploaded blinking sketch. It works
Now when I plug the micro directly to USB sketch runs, the Rx LED keeps ON. But still no sketch upload possible.
Error message (couldn’t find board on selected port.) the Tx and Rx keeps blinking very fast together.
What would be wrong.
When I open IDE serial. Tx blinks
But still can’t upload new sketch.
Regarding DTE, Im using the pro micro (atmel mega32u4) which connects directly to the usb natively without a programmer (CH340 or CP2021?)