Answers for "executing sh from terminal"

4

run sh from terminal mac

chmod +x fileName
bash fileName
Posted by: Guest on April-25-2020
0

how to create a sh file to run terminal commands

\you start with
#!/bin/bash
EnterYourCommand



and open a terminal in the same directory where the .sh file is and run "chmod +x FILENAME.sh"
Posted by: Guest on December-31-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language