MDI(1)
π MDI β send G-code from your terminal to the running LinuxCNC, bestie β¨
okay so this is mdi from the LinuxCNC manual (section 1, terminal commands, iykyk) π
πΈ NAME πΈ
mdi β send G-code commands from the terminal straight to the running LinuxCNC instance π₯
β¨ SYNOPSIS β¨
mdi
that's it. that's the whole synopsis. no flags, no drama, just vibes π
π¦ DESCRIPTION π¦
so mdi sends G-code commands to LinuxCNC. that's the whole job, and it does it gorgeously π«Ά
when you run the command it starts up an environment where G-code commands get sent to the interpreter and the machine feedback gets displayed back at you. it's giving "direct line to the machine, no middleman energy" π
π USAGE π
you can send a single command and exit like this:
send a single command and exit
mdi m2 s1400
interactive session
$mdi
MDI> m3 s1000
MDI> G0 X100
MDI> ^Z
$stopped
or you can hang out in an interactive session, where you keep typing commands at the MDI> prompt, and you bail out with ^Z π
π SEE ALSO π
LinuxCNC(1)π
and fr fr, there is so much more info about LinuxCNC and HAL in the LinuxCNC and HAL User Manuals, which live at /usr/share/doc/LinuxCNC/ πβ¨
π BUGS π
None known at this time. not a single one. clean sheet. no cap π
π AUTHOR π
this man page was written by andypugh, as part of the LinuxCNC project π
π REPORTING BUGS π
found something cursed? report bugs at https://github.com/LinuxCNC/linuxcnc/issues β the devs wanna hear it π§
π COPYRIGHT π
Copyright Β© 2020 andypugh.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. π¨ (yes that's the all-caps part, it means it, bestie β no warranty, periodt.)
ngl the footer of this page is doing main character energy: LinuxCNC Documentation, dated 2020-08-26. stan an iconic date β¨π
π¦
π¦ where this page comes from
- debian bookworm: linuxcnc-uspace 2.9.0~pre1+git20230208.f1270d6ed7-1+deb12u2 Β· GFDL-1.1-or-later
- debian trixie: linuxcnc-uspace 1:2.9.4-2+deb13u1 Β· GFDL-1.1-or-later
- ubuntu questing: linuxcnc-uspace 1:2.9.4-2ubuntu2
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- Copyright (c) 2020 andypugh
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms