<p>I want to plug in my drivers from the printer into my Raspberry Pi. I want to control the printer's axes by sending G-code directly from the Raspberry Pi command line (if possible) to the drivers.</p>
<p>Is that possible and if yes does anyone know how? As I stated above without using any 3rd party program/software.</p>

You can send the data to the serial port using
```
echo
```
, but you'll have to use
```
cat
```
to get the response.