~town golf how does this work?

how to join

in short: put your file in ~/golf/[challenge_name]/. ensure that it's executable (chmod +x your_file) and that it has a shebang


shebangs are those lines at the beginning of scripts that look like #!/this. they contain the path to the interpreter for the language that you're using, so people can launch them easily. some examples are:

if you don't know where the interpreter is, you can use the whereis command. if you want to use a compiled language, such as C, you have to use a wrapper script. here are the ones that i know of: