Bash Scripting - Variables
Which of the following is the correct way to create a local variable inside a Bash function?
local declares a variable limited to that function.export makes variables environment variables, setlocal is not a Bash command, and VAR=value without local is global or inherited.local inside functions for local variables [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions