Which of the following shell commands makes the already defined variable TEST visible to new
child processes? (Choose two.)
declare +x TEST
declare -x TEST
export -v TEST
You must be logged in to post a comment.
3 Comments on “Which of the following shell commands makes the already…”
D is correct , but another one is ??????
or this is only one answer
Another one is C
No, I do not think C is a correct answer. I rather think that the author of the question made a mistake. There is only one answer as a solution.
The declare is a builtin command of the bash shell. It is used to declare shell variables and functions, set their attributes and display their values.