I am creating a bash script for a linux server, but I want to develop it on my mac and simple see the results of the script when it runs locally (it's doing simple math). Any ideas how I can do it?
Make sure you have the shebang line (#!/bin/bash as the first line of the file), then 'chmod +x yourscript.sh', then you can run it with './yourscript.sh'.