Skip to content

Instantly share code, notes, and snippets.

@cnolimit
Created April 17, 2018 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cnolimit/bdce53ffb245d7c07e1e6d44876ef2f6 to your computer and use it in GitHub Desktop.
Save cnolimit/bdce53ffb245d7c07e1e6d44876ef2f6 to your computer and use it in GitHub Desktop.
Bash Script - Template
#!/bin/sh
#title :hello_world.sh
#description :This script prints "hello world!" to the console
#author :Phillip Akuamoah-Boateng
#date :2018-04-17
#version :1.0.0
#usage :bash install.sh
#notes :n/a
#==============================================================================
# Global Variables
#=============================================================================
MESSAGE="Hello World!"
# Functions
#==============================================================================
function hello() {
echo $MESSAGE
}
# Main body
#==============================================================================
hello
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment