LinuxCNC G Code Reference. LinuxCNC is a free software system for computer control of machine tools such as milling machines and lathes.