Answer the question
In order to leave comments, you need to log in
Linux, Bash, How to pass variables to functions!?
How to pass variables to functions?
So that later at the end these variables will self-destruct.
Now the function is like this.
function test {
echo '1'
}
test
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question