LinuxCNC(1)
π LinuxCNC(1) β The Enhanced Machine Controller π
okay bestie, welcome to the LinuxCNC manual page, from The Enhanced Machine Controller era, no less. grab a snack, this is your girl explaining the whole thing πΈ
β¨ NAME β¨
linuxcnc β LinuxCNC (The Enhanced Machine Controller) π¦
β¨ SYNOPSIS β¨
linuxcnc [-h] [-v] [-d] [-r] [-l] [-k] [-t <tpmodulename> [parameters]]
[-m <homemodulename> [parameters]] [-H <dirname>] [INI file]
like, that's the whole vibe in one code block π
β¨ DESCRIPTION β¨
So. linuxcnc is the command that starts LinuxCNC (The Enhanced Machine Controller, periodt). It boots up the realtime system, and then it initializes a whole little friend group of LinuxCNC components β IO, Motion, GUI, HAL, etc. all showing up to the party π
The most important parameter, like the main character here, is INI file β that's the thing that tells it which configuration name you wanna run.
And if you don't passINI fileat all? It doesn't just sit there. Thelinuxcncscript pops up a graphical wizard so you can pick one yourself π§β¨
β¨ OPTIONS β¨
-hβ shows the help. the little "help me help you" button π«Ά-vβ be a little bit verbose. this makes the script print info as it works, so you can watch it do its thing π-dβ print lots of debug information. every single executed command gets echoed to the screen. genuinely useful when something is not working the way it should π-rβ disables redirection of stdout and stderr to~/linuxcnc_print.txtand~/linuxcnc_debug.txtwhen stdin is not a tty. you use this when you're running linuxcnc tests non-interactively, iykyk π-lβ use the last-used INI file without prompting. lowkey the best choice for a shortcut command or a startup item, fr fr-kβ continue even when there are errors in HAL files. it just keeps going πΆβοΈ-t <tpmodulename> [parameters]β specify a customtrajectory_planning_module, which overrides the optional INI setting[TRAJ]TPMODβ¨-m <homemodulename> [parameters]β specify a customhoming_module, which overrides the optional INI setting[EMCMOT]HOMEMODπ-H <dirname>β search dirname for HAL files before searching the INI directory and the system library:$HALLIB_DIRπ<INIFILE>β the INI file. this is the main piece of a LinuxCNC configuration. it is not the entire configuration β there are various other files that go with it (NMLfiles,HALfiles,TBLfiles,VARfiles). but it is the most important one, because it's the file that holds the whole configuration together. it can adjust a lot of parameters itself, and it also tellslinuxcncwhich other files to load and use.
There are several ways to specify which config to use:
- Specify the absolute path to an INI, e.g.,
linuxcnc /usr/local/linuxcnc/configs/sim/sim.ini - Specify a relative path from the current directory, e.g.
linuxcnc configs/sim/sim.ini
Otherwise, in the case where the INIFILE is not specified, the behavior will depend on whether you configured LinuxCNC with --enable-run-in-place.
- If so, the LinuxCNC config chooser will search only the
configsdirectory in your source tree π³ - If not (or if you are using a packaged version of LinuxCNC), it may search several directories.
The config chooser is currently set to search the path:
~/linuxcnc/configs:/usr/local/etc/linuxcnc/configs:/usr/share/doc/linuxcnc/examples/sample-configs
β¨ EXAMPLES β¨
these are the moments, bestie π
linuxcnc
linuxcnc configs/sim/sim.ini
linuxcnc /etc/linuxcnc/sample-configs/stepper/stepper_mm.ini
β¨ SEE ALSO β¨
Much more information about LinuxCNC and HAL is available in the LinuxCNC and HAL User Manuals, found at /usr/share/doc/linuxcnc/. go read them, they ate π
β¨ BUGS β¨
None known at this time. iconic behavior honestly π
β¨ AUTHOR β¨
This man page was written by Alex Joni, as part of the LinuxCNC Enhanced Machine Controller project π«Ά
β¨ REPORTING BUGS β¨
Report bugs to alex_joni AT users DOT sourceforge DOT net π¬
β¨ COPYRIGHT β¨
Copyright Β© 2006 Alex Joni.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
no cap, zero warranty. like, none. not even the "it'll work on your machine" kind π
and that's the whole page, bestie π this was LinuxCNC(1) from the LinuxCNC Documentation, dated 2006-02-20, and yeah the page title at the very bottom is LinuxCNC(1) too because we keep it symmetrical β¨ bye ily, go make chips π¦π
π¦ 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) 2006 Alex Joni
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms