cobc -x -free hello.cbl && ./hello
cobc is the main command-line compiler of GnuCOBOL.-x tells the compiler to produce a normal executable file (with its own main() function).cobcrunhello → run directly ./hello-free enables modern COBOL syntax (COBOL 2002+ style):&& = shell "AND THEN" operator./hello) runs only if compilation returned success (exit code 0)./hello