A non-exhaustive list of compile/run files for common languages.

Bash

compile

No compile file required

run

#!/bin/bash

/usr/local/bash-4.4/bin/bash hello.sh

C

compile

#!/bin/bash

/usr/local/gcc-9.2.0/bin/gcc -c hello.c -o hello

run

#!/bin/bash

./hello

C with Makefile

compile

#!/bin/bash

make

run

#!/bin/bash

./hello

C++

compile

#!/bin/bash

/usr/local/gcc-9.2.0/bin/g++ hello.cpp