Use these commands to compile and run GAS files, once you have set the correct directory path in the terminal prompt: as (filename).s -o (filename).o ld (filename).o -o (filename) ./(filename)