Created
November 12, 2017 14:04
-
-
Save merin83/a8409f6bb5d7ed27588e0687b73e796b to your computer and use it in GitHub Desktop.
function_paremeter.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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