Skip to content

Instantly share code, notes, and snippets.

@merin83
Created November 12, 2017 14:04
Show Gist options
  • Select an option

  • Save merin83/a8409f6bb5d7ed27588e0687b73e796b to your computer and use it in GitHub Desktop.

Select an option

Save merin83/a8409f6bb5d7ed27588e0687b73e796b to your computer and use it in GitHub Desktop.
function_paremeter.sh
foo() {
echo "Parameter #1 is $1" #and this is the argument value
echo "$2"
}
foo "hello" "what" #this are the argument you are passing to foo function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment