Skip to content

Instantly share code, notes, and snippets.

@philippebarbosa
Last active December 17, 2015 22:48
Show Gist options
  • Save philippebarbosa/5684144 to your computer and use it in GitHub Desktop.
Save philippebarbosa/5684144 to your computer and use it in GitHub Desktop.
How to set a .sh file
Settings an executable sh file :
- Last line of .sh file :
#!/bin/sh
- in terminal, set the file executable
chmod +x name.sh
- then to open it :
./script.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment