Skip to content

Instantly share code, notes, and snippets.

@martin-cotta
Created September 3, 2018 00:24
Show Gist options
  • Save martin-cotta/6c18be56a14943bf58aa2df7dc52097a to your computer and use it in GitHub Desktop.
Save martin-cotta/6c18be56a14943bf58aa2df7dc52097a to your computer and use it in GitHub Desktop.
Create a shell script file
#!/bin/bash
echo "Hello World"
# make it executable: chmod +x script.sh or chmod u+x script.sh
# Place it under /usr/local/bin folder.(optional)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment