Making scripts executable in Linux is as easy as setting a line at the top of the script, below is a list of common ones:

File Type Line
Python #!/usr/bin/env python3
Node #!/usr/bin/env node
Shell #!/usr/bin/env bash

Once the hashbang is added to the top of the file, make the file executable by doing chmod +x your_file.sh