Run a bash script

?
S
Bash

Snippet with the 2 most simple ways of running a bash script

1#runs the script as an executable file, launching a new shell to run it
2./script 
3
4# read and execute command from filename in the current shell environment
5source script 

Created on 4/30/2018